From 3eef874d38b29300f2f9c6eae4f976f84af4fa52 Mon Sep 17 00:00:00 2001 From: govenliu Date: Wed, 3 Jun 2020 15:17:37 +0800 Subject: [PATCH] [Wi-Fi] Set the password in the WiFi QR Code sharing page to be copyable Add new testIsSelectable/focusable/longClickable attributes to the password textview. Bug: 141132359 Test: manual test. Change-Id: I5bc1b898bc31d0a486ac5423557596510d813acb --- res/layout/wifi_dpp_qrcode_generator_fragment.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/res/layout/wifi_dpp_qrcode_generator_fragment.xml b/res/layout/wifi_dpp_qrcode_generator_fragment.xml index 1f8b37ca362..76eecb0a05d 100644 --- a/res/layout/wifi_dpp_qrcode_generator_fragment.xml +++ b/res/layout/wifi_dpp_qrcode_generator_fragment.xml @@ -56,6 +56,9 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:textAlignment="center" + android:textIsSelectable="true" + android:focusable="true" + android:longClickable="true" android:textAppearance="@android:style/TextAppearance.Material.Body1" android:textColor="?android:attr/textColorSecondary"/>