TunnelDetail: set singleLine=true for API <=23
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
09b40cdec7
commit
bc186fe6ad
@ -105,6 +105,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:contentDescription="@string/public_key_description"
|
android:contentDescription="@string/public_key_description"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:onClick="@{ClipboardUtils::copyTextView}"
|
android:onClick="@{ClipboardUtils::copyTextView}"
|
||||||
android:text="@{config.interface.keyPair.publicKey.toBase64}"
|
android:text="@{config.interface.keyPair.publicKey.toBase64}"
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:contentDescription="@string/public_key_description"
|
android:contentDescription="@string/public_key_description"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:onClick="@{ClipboardUtils::copyTextView}"
|
android:onClick="@{ClipboardUtils::copyTextView}"
|
||||||
android:text="@{item.publicKey.toBase64}"
|
android:text="@{item.publicKey.toBase64}"
|
||||||
|
Loading…
Reference in New Issue
Block a user