From eaeff484f808658598397c04ba6e5f0f68e94d41 Mon Sep 17 00:00:00 2001 From: 1 Date: Tue, 11 Apr 2023 15:04:14 +0000 Subject: Add horizontal dividers to UI per mocks Above and below the actions row. Extracted the actions row layout to be an include to reduce duplication a bit without restructuring. Colors and padding will likely change later. Bug: 277745495 Test: Trigger different preivew UIs via ShareTest, validate that dividers show up. Change-Id: I16d60554d0c060f6472907f8557366344f22ddc3 --- java/res/layout/chooser_action_row.xml | 40 ++++++++++++++++++++++++++ java/res/layout/chooser_grid_preview_file.xml | 7 +---- java/res/layout/chooser_grid_preview_image.xml | 8 +----- java/res/layout/chooser_grid_preview_text.xml | 7 +---- 4 files changed, 43 insertions(+), 19 deletions(-) create mode 100644 java/res/layout/chooser_action_row.xml (limited to 'java') diff --git a/java/res/layout/chooser_action_row.xml b/java/res/layout/chooser_action_row.xml new file mode 100644 index 00000000..303426c4 --- /dev/null +++ b/java/res/layout/chooser_action_row.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + diff --git a/java/res/layout/chooser_grid_preview_file.xml b/java/res/layout/chooser_grid_preview_file.xml index bcc320d3..c9ef952a 100644 --- a/java/res/layout/chooser_grid_preview_file.xml +++ b/java/res/layout/chooser_grid_preview_file.xml @@ -71,12 +71,7 @@ android:textAppearance="@style/TextAppearance.ChooserDefault" /> - + diff --git a/java/res/layout/chooser_grid_preview_image.xml b/java/res/layout/chooser_grid_preview_image.xml index 43f6f4d1..4a8f7ce3 100644 --- a/java/res/layout/chooser_grid_preview_image.xml +++ b/java/res/layout/chooser_grid_preview_image.xml @@ -59,11 +59,5 @@ android:textAppearance="@style/TextAppearance.ChooserDefault" /> - - + diff --git a/java/res/layout/chooser_grid_preview_text.xml b/java/res/layout/chooser_grid_preview_text.xml index 5e7afa46..89e961e8 100644 --- a/java/res/layout/chooser_grid_preview_text.xml +++ b/java/res/layout/chooser_grid_preview_text.xml @@ -84,12 +84,7 @@ android:focusable="true"/> - + -- cgit v1.2.3-59-g8ed1b