Go to file
Revath S Kumar e9e4fd4e8b TunnelList: Get focus to toggle button via remote for Fire TV
This removes a no-longer-needed workaround for the ListView
OnItemClickListener (it won't fire if a focusable view is inside the
item view). Since converting our ListView instances to RecyclerView
instances, we set the OnClick and OnLongClick listeners directly on the
item view, and this workaround no longer has any effect.

Unsurprisingly, the workaround breaks focusability of the Switch, which
is necessary to toggle tunnels on devices with keypad-based navigation,
such as the Fire TV.

This commit also adds explicit focusability hints for the Switch.

Related mail thread:
https://lists.zx2c4.com/pipermail/wireguard/2019-May/004112.html

Reported-by: Christophe-Marie Duquesne <chmd@chmd.fr>
Reported-by: Revath S Kumar <gmail@revathskumar.com>
[Samuel: sorted attributes; expanded commit message]
Signed-off-by: Samuel Holland <samuel@sholland.org>
2019-06-05 21:07:50 +02:00
.idea Adjust code generation to match existing style 2018-12-15 14:46:23 -06:00
app TunnelList: Get focus to toggle button via remote for Fire TV 2019-06-05 21:07:50 +02:00
gradle/wrapper project: bump dependencies 2019-02-17 04:14:11 +01:00
.gitignore global: Add nullity annotations 2018-07-13 03:46:23 +02:00
.gitmodules libwg-go: don't use submodule 2019-03-03 05:43:42 +01:00
build.gradle project: bump dependencies 2019-02-17 04:14:11 +01:00
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties Migrate to AndroidX 2018-12-18 16:54:54 +01:00
gradlew wg-build: Update gradle build files 2018-05-02 03:40:02 +02:00
README.md global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
settings.gradle project: Create empty project with WireGuard icon 2017-07-28 23:10:37 -05:00

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ git submodule init
$ git submodule update
$ ./gradlew assembleRelease