aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/layout/tunnel_editor_fragment.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to AndroidXHarsh Shandilya2018-12-181-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Remodel the ModelSamuel Holland2018-12-081-13/+15
| | | | | | | | | | | | | | - The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Auto-format the source directoriesSamuel Holland2018-11-111-3/+3
| | | | | | Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Style: use attrs from appcompat rather than from frameworksJason A. Donenfeld2018-07-301-1/+1
| | | | | | | This isn't possible for colorForeground, colorBackground, textAppearanceMedium, but at least it's useful for some things here. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: fix nitsJason A. Donenfeld2018-07-061-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AppListDialogFragment: add implementation for excluding applicationsEric Kuck2018-07-061-0/+13
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* TunnelEditor: better looking buttonsJason A. Donenfeld2018-07-061-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Use a proper CardView based layoutHarsh Shandilya2018-05-031-164/+170
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: Automatic code formattingSamuel Holland2018-04-301-1/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* wg: Break out crossport dependencyHarsh Shandilya2018-04-301-2/+2
| | | | | | | Replace all crossport uses with upstream design support library components. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Use validation instead of two-way bindingJason A. Donenfeld2018-04-281-14/+10
| | | | | | | | | | | | | | This is insane, but it appears to be working. We essentially store things in a separate class for editing, and then commit it back at a given time. This business with onViewStateRestored in both TunnelEditorFragment and in TunnelDetailFragment is buggy and likely wrong. In general TunnelEditorFragment should probably be rewritten. The relationship with the changed name is not clear. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* More javaficationJason A. Donenfeld2018-04-181-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove sloppy java with enterprise java horrorsJason A. Donenfeld2018-04-171-2/+2
| | | | | | | Since the amount of mind numbing boiler plate has been increased, this must be the proper way to do things. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* layout: never use suggestionsJason A. Donenfeld2018-01-091-4/+4
| | | | | | | | | IP addresses and key material could be potentially sensitive. We also don't want any interactions with the suggestive text APIs. So, we mark it as both a visible password and we turn off suggestions. This will fix the length limit, too, in Android 8. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* project: Global cleanupSamuel Holland2018-01-081-0/+233
Signed-off-by: Samuel Holland <samuel@sholland.org>