TunnelEditor: fix up allowedips margins

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-03-28 15:49:53 -06:00
parent b41640837c
commit 07b69be7bf

View File

@ -139,11 +139,9 @@
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/allowed_ips_label_layout" android:id="@+id/allowed_ips_label_layout"
style="@style/TextInputLayoutBase" style="@style/TextInputLayoutBase"
android:layout_width="0dp" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="4dp" android:layout_margin="4dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="4dp"
android:hint="@string/allowed_ips" android:hint="@string/allowed_ips"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -153,6 +151,7 @@
android:id="@+id/allowed_ips_text" android:id="@+id/allowed_ips_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:inputType="textNoSuggestions|textVisiblePassword" android:inputType="textNoSuggestions|textVisiblePassword"
android:text="@={item.allowedIps}" /> android:text="@={item.allowedIps}" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>