From 2206dfc432b51e8cc8276c255ba2ac8dbc1ff4ea Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sat, 6 Jan 2018 04:24:43 -0600 Subject: TunnelDetailFragment: Allow copying peer public keys Signed-off-by: Samuel Holland --- app/src/main/res/layout/tunnel_detail_peer.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/tunnel_detail_peer.xml b/app/src/main/res/layout/tunnel_detail_peer.xml index 0de72dea..80ab5cff 100644 --- a/app/src/main/res/layout/tunnel_detail_peer.xml +++ b/app/src/main/res/layout/tunnel_detail_peer.xml @@ -3,6 +3,8 @@ + + @@ -46,8 +48,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/public_key_label" + android:contentDescription="@string/public_key_description" android:ellipsize="end" android:maxLines="1" + android:onClick="@{ClipboardUtils::copyTextView}" android:text="@{item.publicKey}" />