summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-28 14:55:33 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-28 16:26:22 -0600
commitcd6c2f68ca6e9bd004765fdbb716a82026fe603f (patch)
tree2a8c34be4e5e510b7edc023bbc8c25050b60b044
parent75252cf9d54279af16eb4057c045450b32788c7b (diff)
TunnelEditor: properly align mtu and listen port
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui/src/main/res/layout/tunnel_editor_fragment.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/res/layout/tunnel_editor_fragment.xml b/ui/src/main/res/layout/tunnel_editor_fragment.xml
index b8c6a5a1..1cc5aa7a 100644
--- a/ui/src/main/res/layout/tunnel_editor_fragment.xml
+++ b/ui/src/main/res/layout/tunnel_editor_fragment.xml
@@ -216,12 +216,12 @@
style="@style/TextInputLayoutBase"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginStart="4dp"
+ android:layout_margin="4dp"
android:hint="@string/mtu"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_weight="0.3"
app:layout_constraintStart_toEndOf="@id/dns_servers_label_layout"
- app:layout_constraintTop_toTopOf="@id/dns_servers_label_layout">
+ app:layout_constraintTop_toBottomOf="@id/addresses_label_layout">
<com.wireguard.android.widget.MonkeyedTextInputEditText
android:id="@+id/mtu_text"