aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: reformat all codeJason A. Donenfeld2023-05-052-3/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: display latest handshake timeJason A. Donenfeld2023-04-241-1/+29
| | | | 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: 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-043-8/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* 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-2812-39/+39
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: introduce a fresh set of Material3 themes and migrate to themHarsh Shandilya2023-03-274-5/+5
| | | | 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: 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>
* global: bump copyright dateJason A. Donenfeld2023-03-212-2/+2
| | | | 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: normalise icon tints and remove unused drawableHarsh Shandilya2022-05-261-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add margin on empty list textMarcel Joss2022-01-171-0/+2
| | | | | Signed-off-by: Marcel Joss <marceljoss@hotmail.ch> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: bump copyright yearJason A. Donenfeld2021-10-292-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui,tunnel: support DNS search domainsJason A. Donenfeld2021-09-251-5/+32
| | | | | | | | wg-quick has supported this for a while, but not the config layer, and not the Go backend, so wire this all up. Requested-by: Alexis Geoffrey <alexis.geoffrey97@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: cleanup code after churnJason A. Donenfeld2020-09-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: use our own file pickerJason A. Donenfeld2020-09-232-6/+98
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: hook up isFocused as observable propertyJason A. Donenfeld2020-09-221-4/+6
| | | | | | | | This is kind of ridiculous, since the items own state should clearly be queryable, but it doesn't appear to be the case here, so just shuffle it around into kotlin and back. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: add text when there are no tunnelsJason A. Donenfeld2020-09-221-1/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: make cards slightly smallerJason A. Donenfeld2020-09-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: tweak TV layout to fit 3 rows betterHarsh Shandilya2020-09-221-6/+8
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: set layout manager from XMLHarsh Shandilya2020-09-221-0/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: make logo almost betterJason A. Donenfeld2020-09-222-9/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: anchor RV bottom to top of delete buttonHarsh Shandilya2020-09-221-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: remove useless attributeJason A. Donenfeld2020-09-221-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: use plus instead of text for importingJason A. Donenfeld2020-09-221-3/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: do themingHarsh Shandilya2020-09-222-18/+21
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: add tv bannerJason A. Donenfeld2020-09-221-0/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: use proper icon for buttonJason A. Donenfeld2020-09-221-3/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: hide deletion button when nothing to deleteJason A. Donenfeld2020-09-221-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: add ugly deletion modeJason A. Donenfeld2020-09-222-2/+37
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: wire in statsJason A. Donenfeld2020-09-221-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: wire up tunnel start/stopJason A. Donenfeld2020-09-222-10/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: begin to wire up databindingsJason A. Donenfeld2020-09-222-34/+39
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: initial draft of Android TV supportHarsh Shandilya2020-09-222-0/+104
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add tooling label for exclusions buttonHarsh Shandilya2020-09-201-1/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add navigation hints for D-Pad and IMEHarsh Shandilya2020-09-207-0/+106
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ConfigNamingDialogFragment: fix focus request for config naming dialogHarsh Shandilya2020-09-161-2/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* MonkeyedTextInputEditText: au revoirJason A. Donenfeld2020-09-152-8/+13
| | | | | | | Remember to go back to using com.google.android.material when 1.3.0-alpha03 comes out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: desugar retrofuture and remove old depsJason A. Donenfeld2020-09-152-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: address new databinding requirementsHarsh Shandilya2020-05-291-1/+1
| | | | | | | | | | Layouts in differing configurations must agree on their root tags, so we give both copies of main_activity the same root ID, and adjust the check for two-pane layout to simply test for nullability. This also changes the inset dispatch code to use ViewCompat and WindowInsetsCompat since they will adjust insets based on the SDK level allowing us to abstract away that concern. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: tweak FABs to use the correct typeHarsh Shandilya2020-04-082-6/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: set proper content description for applicationsJason A. Donenfeld2020-04-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: show excluded/included apps in details viewJason A. Donenfeld2020-04-061-0/+24
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: align listen port and mtu in detail editorJason A. Donenfeld2020-04-061-7/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add suffix to persistent keepalive in editorJason A. Donenfeld2020-04-061-1/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add missing fields to detail viewJason A. Donenfeld2020-04-062-4/+142
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: tweak cards to make them nicer on the eyesHarsh Shandilya2020-04-064-19/+3
| | | | | Surprisingly-requested-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>