summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/layout
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-05-05 03:09:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-05 13:18:30 +0200
commit40eaa54cf025d3b4d4f75ab907602e8ecbfe05ad (patch)
treebe7fc68f3ab82f05ab0625e3461a6f6a04d40242 /ui/src/main/res/layout
parenta3bfa6f1ab492f1564b7d256f5b31496de3a974d (diff)
ui: reformat all code
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res/layout')
-rw-r--r--ui/src/main/res/layout/config_naming_dialog_fragment.xml4
-rw-r--r--ui/src/main/res/layout/tunnel_list_fragment.xml4
2 files changed, 5 insertions, 3 deletions
diff --git a/ui/src/main/res/layout/config_naming_dialog_fragment.xml b/ui/src/main/res/layout/config_naming_dialog_fragment.xml
index 88deb976..63d3141d 100644
--- a/ui/src/main/res/layout/config_naming_dialog_fragment.xml
+++ b/ui/src/main/res/layout/config_naming_dialog_fragment.xml
@@ -3,6 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
+
<import type="com.wireguard.android.widget.NameInputFilter" />
</data>
@@ -24,7 +25,8 @@
android:imeOptions="actionDone"
android:inputType="textNoSuggestions|textVisiblePassword"
app:filter="@{NameInputFilter.newInstance()}">
- <requestFocus/>
+
+ <requestFocus />
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>
diff --git a/ui/src/main/res/layout/tunnel_list_fragment.xml b/ui/src/main/res/layout/tunnel_list_fragment.xml
index 8fc5d523..2ee2ff38 100644
--- a/ui/src/main/res/layout/tunnel_list_fragment.xml
+++ b/ui/src/main/res/layout/tunnel_list_fragment.xml
@@ -60,11 +60,11 @@
android:src="@mipmap/ic_launcher" />
<TextView
- android:layout_marginStart="@dimen/tunnel_list_placeholder_margin"
- android:layout_marginEnd="@dimen/tunnel_list_placeholder_margin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
+ android:layout_marginStart="@dimen/tunnel_list_placeholder_margin"
+ android:layout_marginEnd="@dimen/tunnel_list_placeholder_margin"
android:text="@string/tunnel_list_placeholder"
android:textSize="20sp" />
</LinearLayout>