From d79cdb0d41f05f53c13a0b247f54c28f42609e2f Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 15 Sep 2020 13:29:53 +0200 Subject: MonkeyedTextInputEditText: au revoir Remember to go back to using com.google.android.material when 1.3.0-alpha03 comes out. Signed-off-by: Jason A. Donenfeld --- ui/src/main/res/layout/tunnel_editor_fragment.xml | 9 ++++++--- ui/src/main/res/layout/tunnel_editor_peer.xml | 12 +++++++----- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'ui/src/main/res') diff --git a/ui/src/main/res/layout/tunnel_editor_fragment.xml b/ui/src/main/res/layout/tunnel_editor_fragment.xml index dffc9d97..8b2ff2ec 100644 --- a/ui/src/main/res/layout/tunnel_editor_fragment.xml +++ b/ui/src/main/res/layout/tunnel_editor_fragment.xml @@ -111,11 +111,12 @@ android:layout_height="wrap_content" android:layout_margin="4dp" android:hint="@string/public_key" + app:expandedHintEnabled="false" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/private_key_text_layout"> - - - - + app:layout_constraintTop_toBottomOf="@id/pre_shared_key_label_layout" + app:suffixText="@{@plurals/persistent_keepalive_seconds_suffix(BindingAdapters.tryParseInt(item.persistentKeepalive))}"> - + android:text="@={item.persistentKeepalive}" />