aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* ui: add barrier to fix detail fragment overlapSlipkHunter2022-07-071-7/+10
| | | | | | | When listen port and MTU are hidden, we need a barrier here. Signed-off-by: SlipkHunter <abrito025@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: reorder constraints to fix detail fragment overlapHarsh Shandilya2022-05-261-3/+7
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: move default style to Material3 with Dynamic ColorsHarsh Shandilya2022-05-262-20/+17
| | | | | | | The TV theme has been kept as-is since Material You guidance around this is a bit scarce at the moment. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: normalise icon tints and remove unused drawableHarsh Shandilya2022-05-2613-23/+25
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: word wrap settings headersVlad Loktionov2022-03-201-0/+5
| | | | | | | Apparently some translations make this wrap, which is bad. Signed-off-by: Vlad Loktionov <yobabay23@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: allow importing tunnel from an QR image stored on the deviceNikita Pustovoi2022-03-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Add a new feature to import a tunnel from a saved QR image, this feature integrates into 'import from file' flow, however adds a condition, if file is an image, attempt to parse it as QR image file. My use case for this feature, is to allow easier sharing of tunnels to family. Scanning QR code is ok when you have an external display to show it, but if you sent QR code to someone, there is no way to import it in the app. If you share a config file, that becomes way harder for a non-technical person to import as now they need to find a file with that name in the file picker etc etc, Where the images are very visible in the file picker, and user can easily recognize it for import. Testing: - Click "+" blue button, try to import a valid `.conf` file - the 'original' file flow should not be affected - Click "+" blue button, try to import a valid QR code image - if QR code was parsed, then a new tunnel will be added. - Click "+" blue button, try to import an invalid QR code image - Error message will be shown Signed-off-by: Nikita Pustovoi <deishelon@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add margin on empty list textMarcel Joss2022-01-172-0/+3
| | | | | Signed-off-by: Marcel Joss <marceljoss@hotmail.ch> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: bump copyright yearJason A. Donenfeld2021-10-295-5/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: remove kernel module downloaderJason A. Donenfeld2021-10-2927-99/+98
| | | | | | | | Nathan Chance dropped the ball repeatedly and never maintained this in a consistent way that anybody could use. With Android 12 out now, just drop it all together. A bummer, but I don't see much of a choice. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>