From b41640837cd181a0732e283fca19a7d984f79abd Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 28 Mar 2020 15:43:22 -0600 Subject: [PATCH] TunnelEditor: get rid of weird gravity on add peer button Signed-off-by: Jason A. Donenfeld --- .../res/layout/tunnel_editor_fragment.xml | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/ui/src/main/res/layout/tunnel_editor_fragment.xml b/ui/src/main/res/layout/tunnel_editor_fragment.xml index 0eb5c249..4c6d8fd4 100644 --- a/ui/src/main/res/layout/tunnel_editor_fragment.xml +++ b/ui/src/main/res/layout/tunnel_editor_fragment.xml @@ -93,9 +93,9 @@ android:layout_height="wrap_content" android:layout_margin="4dp" android:hint="@string/private_key" - app:endIconMode="custom" - app:endIconDrawable="@drawable/ic_action_generate" app:endIconContentDescription="@string/generate_new_private_key" + app:endIconDrawable="@drawable/ic_action_generate" + app:endIconMode="custom" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/interface_name_layout"> @@ -239,24 +239,25 @@ + + - -