summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout
AgeCommit message (Collapse)Author
2018-07-18fab: add fab sized padding at bottom of recycler viewJason A. Donenfeld
This way we can keep scrolling when there are exactly the right number of items, so that the toggle switch becomes visible. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18fab: make fab respond to recyclerview scroll eventsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-18fab: slide fab up when a snackbar showsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-12TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-11fab: use support library's renderingEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-09Request VPN permissions on activationEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-08Switch from ListView to RecyclerViewEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06PeerEditor: put exclusion checkbox next to labelJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06PeerEditor: add exclude private IPs functionalityJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06TunnelEditor: fix nitsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06AppListDialogFragment: add implementation for excluding applicationsEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06TunnelEditor: better looking buttonsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-01global: fix theme situation and clean up cruft while adding more cruftJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-29FloatingActionButton: import cleaned up getbase codeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09theme: revert to old color schemeJason A. Donenfeld
Noble effort, but ultimately ugly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-05styles: Propagate WireGuard red in UIHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-03ui: Use a proper CardView based layoutHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30global: Automatic code formattingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30wg: Break out crossport dependencyHarsh Shandilya
Replace all crossport uses with upstream design support library components. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-28Use validation instead of two-way bindingJason A. Donenfeld
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>
2018-04-18More javaficationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-17Remove sloppy java with enterprise java horrorsJason A. Donenfeld
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>
2018-01-08global: Fix or suppress most lints/warningsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-09layout: never use suggestionsJason A. Donenfeld
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>
2018-01-08Handle tunnel state change errors appropriatelySamuel Holland
This class should probably be renamed and moved, but I don't know to what or where. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-08project: Global cleanupSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-07Tunnel: Remove UNKNOWN stateSamuel Holland
It's never used. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Keyed...: Rename all the thingsSamuel Holland
Hooray for diamond interface inheritance. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelDetailFragment: Allow copying peer public keysSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelDetailFragment: Remove state text and last changeSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Convert the list of tunnels to a KeyedObservableListSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Serviceless rewrite, part 1Samuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package widgets -> widgetSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package bindings -> databindingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-11-29NotSupportedActivity: fix font sizeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28ConfigListFragment: Use correct icon for FABSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28ConfigListFragment: Use a floating action menuSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28EditFragment: do not autocomplete or capitalize ifnamesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27NotSupported: Better sorry textJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27ConfigDetailFragment: wire up toggle switchJason A. Donenfeld
Finally no gross colors. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27NotSupported: check if the module existsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-25ConfigList: A better toggle switchSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-24ConfigList: Poor man's switchSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-24VpnService: Move it to a backends packageSamuel Holland
It should be split into two pieces: configuration file management (loading/saving/renaming/deleting) and calling into wg-quick via RootShell. The configuration file management part should then go back into the main package. This is in preparation for adding additional backends based on wg(8) and wireguard-go. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-08Bindings: Merge bugfixes and updatesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-07Bindings: Move to a separate packageSamuel Holland
These are really app-independent reusable classes. Moving them to a separate package helps avoid polluting the main app package, and makes them easier to upgrade. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24ConfigListFragment: Prevent config names from wrappingSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24ConfigEditFragment: Copy public key on clickSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24ConfigEditFragment: Mark the persistent keepalive as optionalSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24ConfigEditFragment: Add a field for the optional pre-shared keySamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>