From a264f7ab36bf1335999d53cb4a0d753c54b231d0 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 5 Sep 2018 18:33:42 -0500 Subject: Auto-format the source directories Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld --- .../main/res/layout/app_list_dialog_fragment.xml | 4 +-- app/src/main/res/layout/app_list_item.xml | 9 +++-- .../res/layout/config_naming_dialog_fragment.xml | 1 + app/src/main/res/layout/tunnel_editor_fragment.xml | 6 ++-- app/src/main/res/layout/tunnel_editor_peer.xml | 3 +- app/src/main/res/layout/tunnel_list_fragment.xml | 38 ++++++++++++---------- 6 files changed, 32 insertions(+), 29 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/app_list_dialog_fragment.xml b/app/src/main/res/layout/app_list_dialog_fragment.xml index 25879b6b..c975778a 100644 --- a/app/src/main/res/layout/app_list_dialog_fragment.xml +++ b/app/src/main/res/layout/app_list_dialog_fragment.xml @@ -20,7 +20,7 @@ + android:minHeight="200dp"> + android:visibility="@{appData.isEmpty() ? View.VISIBLE : View.GONE}" /> - + @@ -23,10 +22,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/list_item_background" - android:padding="16dp" - android:orientation="horizontal" android:gravity="center_vertical" - android:onClick="@{(view) -> item.setExcludedFromTunnel(!item.excludedFromTunnel)}"> + android:onClick="@{(view) -> item.setExcludedFromTunnel(!item.excludedFromTunnel)}" + android:orientation="horizontal" + android:padding="16dp"> + diff --git a/app/src/main/res/layout/tunnel_editor_fragment.xml b/app/src/main/res/layout/tunnel_editor_fragment.xml index 1020e34c..f7976459 100644 --- a/app/src/main/res/layout/tunnel_editor_fragment.xml +++ b/app/src/main/res/layout/tunnel_editor_fragment.xml @@ -100,8 +100,8 @@ app:filter="@{KeyInputFilter.newInstance()}" />