summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/layout
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-28 15:49:53 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-28 16:26:22 -0600
commit07b69be7bfa9aa59ffb1942c7793c0f358e5736a (patch)
treec8188d96bace7a69e821c02b1c985863b51d5c4f /ui/src/main/res/layout
parentb41640837cd181a0732e283fca19a7d984f79abd (diff)
TunnelEditor: fix up allowedips margins
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/tunnel_editor_peer.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/src/main/res/layout/tunnel_editor_peer.xml b/ui/src/main/res/layout/tunnel_editor_peer.xml
index 9d1c7cc4..77e47d40 100644
--- a/ui/src/main/res/layout/tunnel_editor_peer.xml
+++ b/ui/src/main/res/layout/tunnel_editor_peer.xml
@@ -139,11 +139,9 @@
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/allowed_ips_label_layout"
style="@style/TextInputLayoutBase"
- android:layout_width="0dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginStart="4dp"
- android:layout_marginTop="4dp"
- android:layout_marginEnd="4dp"
+ android:layout_margin="4dp"
android:hint="@string/allowed_ips"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -153,6 +151,7 @@
android:id="@+id/allowed_ips_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_alignParentStart="true"
android:inputType="textNoSuggestions|textVisiblePassword"
android:text="@={item.allowedIps}" />
</com.google.android.material.textfield.TextInputLayout>