aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res (follow)
Commit message (Collapse)AuthorAgeFilesLines
* res: remove untranslatable string from hindi translationJason A. Donenfeld2026-03-101-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: raise min SDK to 24Harsh Shandilya2025-10-202-11/+2
| | | | | | | | The difference between the usage of 21 and 24 is not big enough to hold on to all the baggage from API 21 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: losslessly optimize launcher iconsAnthony Ryan2025-10-2011-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using Efficient-Comprression-Tool we can reduce image size by 37.59KB (27%) with no visual change. compressed │ uncompressed │ ──────────┬───────────┼───────────┬───────────┤ size │ diff │ size │ diff │ path ──────────┼───────────┼───────────┼───────────┼─────────────────────────────────────────────── 75.2 KiB │ +75.2 KiB │ 0 B │ 0 B │ + 15.8 KiB │ -6.7 KiB │ 15.7 KiB │ -6.7 KiB │ ∆ res/mipmap-xxxhdpi-v4/ic_launcher.png 20.4 KiB │ -6.3 KiB │ 20.3 KiB │ -6.3 KiB │ ∆ res/mipmap-xxxhdpi-v4/ic_launcher_round.png 8.6 KiB │ -6.2 KiB │ 8.4 KiB │ -6.2 KiB │ ∆ res/mipmap-xhdpi-v4/banner.png 11.6 KiB │ -4.3 KiB │ 11.5 KiB │ -4.3 KiB │ ∆ res/mipmap-xxhdpi-v4/ic_launcher.png 15.2 KiB │ -4 KiB │ 15.1 KiB │ -4 KiB │ ∆ res/mipmap-xxhdpi-v4/ic_launcher_round.png 6.2 KiB │ -2.6 KiB │ 6.1 KiB │ -2.6 KiB │ ∆ res/mipmap-xhdpi-v4/ic_launcher.png 7.9 KiB │ -2.5 KiB │ 7.8 KiB │ -2.5 KiB │ ∆ res/mipmap-xhdpi-v4/ic_launcher_round.png 5 KiB │ -1.7 KiB │ 4.9 KiB │ -1.7 KiB │ ∆ res/mipmap-hdpi-v4/ic_launcher.png 6 KiB │ -1.5 KiB │ 5.8 KiB │ -1.5 KiB │ ∆ res/mipmap-hdpi-v4/ic_launcher_round.png 2.7 KiB │ -1,002 B │ 2.5 KiB │ -996 B │ ∆ res/mipmap-mdpi-v4/ic_launcher.png 3.2 KiB │ -918 B │ 3.1 KiB │ -918 B │ ∆ res/mipmap-mdpi-v4/ic_launcher_round.png ──────────┼───────────┼───────────┼───────────┼─────────────────────────────────────────────── 178 KiB │ +37.6 KiB │ 101.1 KiB │ -37.6 KiB │ (total) [0]: https://github.com/JakeWharton/diffuse/ Signed-off-by: Anthony Ryan <anthonyryan1@gmail.com> [Harsh: comparing APKs with Diffuse[0] shows modest but non-zero size savings] Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* MainActivity: don't reuse id names across layoutsJason A. Donenfeld2025-05-191-1/+1
| | | | | | | This causes problems on foldables. Reported-by: Josh Dague <josh3736@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: add missing xml copyright and opening tagJason A. Donenfeld2025-05-1958-54/+226
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update copyright noticesJason A. Donenfeld2025-05-195-5/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelCreatorActivity: use proper xml for layoutJason A. Donenfeld2025-05-191-0/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: set fitsSystemWindows=true for EdgeToEdge on API 35+Jason A. Donenfeld2025-05-162-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: sync translationsJason A. Donenfeld2025-05-1523-216/+799
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: sync with crowdinJason A. Donenfeld2023-10-189-8/+209
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: sync with crowdinJason A. Donenfeld2023-07-076-5/+77
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2023-05-269-54/+316
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add missing article to stringJason A. Donenfeld2023-05-141-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use modal corruption alert instead of snackbarJason A. Donenfeld2023-05-111-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2023-05-104-0/+32
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add shortcut for adding quick settings tileJason A. Donenfeld2023-05-102-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: generate locales for per-app pickingJason A. Donenfeld2023-05-101-0/+1
| | | | | | | | | | | | | | | | | Enable the per-app locale picking menu by adding the right metadata automatically to the manifest with new AGP automation. This attempts to follow: https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig Using the new AGP feature: https://developer.android.com/studio/preview/features#automatic-per-app-languages It appears to work, and it also should squelch the "W AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : " warnings on old Android that syphyr pointed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: bifurcate only parts of release but nag about wrong contextJason A. Donenfeld2023-05-101-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: reformat all codeJason A. Donenfeld2023-05-058-9/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2023-05-034-11/+40
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: handle update signaturesJason A. Donenfeld2023-05-011-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2023-04-135-1/+29
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: display latest handshake timeJason A. Donenfeld2023-04-242-1/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove unused extra_margin constantJason A. Donenfeld2023-04-131-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: layout: don't stretch text fields, so that alignment is correctJason A. Donenfeld2023-04-132-25/+25
| | | | | | This makes things look uniform on RTL. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: don't use primary color on status bar < api 23Jason A. Donenfeld2023-04-051-0/+1
| | | | | | | The primary color changes in night theme, and since there's no proper mode for the status icons on those APIs, it looks bad. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2023-04-043-2/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: don't create fake theme color attrJason A. Donenfeld2023-04-044-4/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use filled icon buttons in TV modeJason A. Donenfeld2023-04-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use real M3 themeing on TVJason A. Donenfeld2023-04-049-48/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: do not crash if tunnel preparation failsJason A. Donenfeld2023-04-041-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: don't play with status and navigation colors on old APIsJason A. Donenfeld2023-03-303-5/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add list selection highlight color for tabletJason A. Donenfeld2023-03-301-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: the button is not always blue with Material YouJason A. Donenfeld2023-03-3028-28/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use M3 theme for TV to prevent crashJason A. Donenfeld2023-03-301-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync crowdinJason A. Donenfeld2023-03-282-2/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: bring back dark log viewer colorsJason A. Donenfeld2023-03-283-6/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix inconsistent style namingHarsh Shandilya2023-03-281-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: adjust log viewer text sizesHarsh Shandilya2023-03-281-1/+0
| | | | | | 10sp is below the minimum 11sp recommended for readability Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: use M3 styles everywhereHarsh Shandilya2023-03-2814-52/+40
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add possibility for themed iconJason A. Donenfeld2023-03-272-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add list selection backgroundsJason A. Donenfeld2023-03-275-3/+4
| | | | | | | Harsh - feel free to replace this commit with something better. I'm sure it's the most terrible way to do it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: introduce a fresh set of Material3 themes and migrate to themHarsh Shandilya2023-03-2713-105/+144
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: switch from SwitchMaterial to MaterialSwitchJason A. Donenfeld2023-03-252-4/+5
| | | | | | | | | | This required some weird changes to prevent clipping on the top, because apparently the new switch is a bit fatter. I think this actually looks a bit uglier than before, but it seems like that's what Material design wants. Maybe we can improve it? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: bring back donation buttonJason A. Donenfeld2023-03-242-0/+5
| | | | | | | | | For Google Play Store builds, we'll display an alert box. This was inspired by the discussion around StreetComplete; hopefully we'll have a similar okay outcome. Link: https://github.com/streetcomplete/streetcomplete/issues/3768 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update from crowdinJason A. Donenfeld2023-03-2433-180/+1543
| | | | | | This is after doing a rebuild on the crowdin side. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix inconsistent toolbar colorHarsh Shandilya2023-03-241-0/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: simplify IME displaying in ConfigNamingDialogFragmentJason A. Donenfeld2023-03-241-2/+3
| | | | | | Also cleanup some event listener flow. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2023-03-2125-89/+95
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump copyright dateJason A. Donenfeld2023-03-215-5/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>