summaryrefslogtreecommitdiff
path: root/java/res/layout
diff options
context:
space:
mode:
author 1 <mrcasey@google.com> 2023-04-25 20:58:14 +0000
committer 1 <mrcasey@google.com> 2023-04-25 20:58:14 +0000
commitf59a68d4feb4f3c1665d111db03759e6b970c5ae (patch)
tree4cde8ad0b41147a7e67dcef1daa192feb393404f /java/res/layout
parentdf944c13e379fe924a5556fc749350270586fb8e (diff)
Hide one of the divider lines if there are no actions.
Otherwise the top and bottom merge into one thicker line. Bug: 274810036 Test: Visual inspection. Change-Id: I8fe09fdd438ccdacde808d06ae8f0e65e73a6146
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/chooser_action_row.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/res/layout/chooser_action_row.xml b/java/res/layout/chooser_action_row.xml
index f77b0e68..61d36b12 100644
--- a/java/res/layout/chooser_action_row.xml
+++ b/java/res/layout/chooser_action_row.xml
@@ -20,6 +20,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<View
+ android:id="@+id/actions_top_divider"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="?androidprv:attr/materialColorSurfaceContainer"