From 9ea80f3d37285c44037950cec40fad4a220e4347 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Mon, 15 Apr 2019 11:38:39 -0400 Subject: [PATCH] Sharesheet - Add copy text in response to UXR Add copy text underneath image to make it clear what the button means. Make text clickable. Align text colors with spec. Bug: 130350131 Test: Manual inspection Change-Id: Ia2916fd48ef8b2d1862d9baf5f9f695f54187d55 --- core/res/res/layout/chooser_grid_preview_text.xml | 58 ++++++++++++++++------- 1 file changed, 41 insertions(+), 17 deletions(-) diff --git a/core/res/res/layout/chooser_grid_preview_text.xml b/core/res/res/layout/chooser_grid_preview_text.xml index 3c9ffdb8e439..f3ca0af767b1 100644 --- a/core/res/res/layout/chooser_grid_preview_text.xml +++ b/core/res/res/layout/chooser_grid_preview_text.xml @@ -24,9 +24,9 @@ android:layout_height="wrap_content" android:orientation="vertical" android:paddingBottom="@dimen/chooser_view_spacing" - android:background="?attr/colorBackgroundFloating"> + android:background="?android:attr/colorBackgroundFloating"> - + - - + android:background="?android:attr/selectableItemBackgroundBorderless"> + + + + + + @@ -89,7 +112,8 @@ android:layout_gravity="center_vertical" android:ellipsize="end" android:maxLines="2" - android:textSize="20sp"/> + android:textSize="20sp" + android:textColor="?android:attr/textColorPrimary"/> -- 2.11.0