diff --git a/ui/src/main/res/layout/tunnel_detail_fragment.xml b/ui/src/main/res/layout/tunnel_detail_fragment.xml index ff47639d..ca1049e3 100644 --- a/ui/src/main/res/layout/tunnel_detail_fragment.xml +++ b/ui/src/main/res/layout/tunnel_detail_fragment.xml @@ -105,6 +105,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/public_key_description" android:ellipsize="end" + android:singleLine="true" android:maxLines="1" android:onClick="@{ClipboardUtils::copyTextView}" android:text="@{config.interface.keyPair.publicKey.toBase64}" diff --git a/ui/src/main/res/layout/tunnel_detail_peer.xml b/ui/src/main/res/layout/tunnel_detail_peer.xml index 65b03a62..d34ae4c4 100644 --- a/ui/src/main/res/layout/tunnel_detail_peer.xml +++ b/ui/src/main/res/layout/tunnel_detail_peer.xml @@ -51,6 +51,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/public_key_description" android:ellipsize="end" + android:singleLine="true" android:maxLines="1" android:onClick="@{ClipboardUtils::copyTextView}" android:text="@{item.publicKey.toBase64}"