From cafeaadaa66a129e4ce6d9cb9b32ee19003b8cec Mon Sep 17 00:00:00 2001 From: Matthew Fritze Date: Thu, 28 Feb 2019 12:48:39 -0800 Subject: [PATCH] UX Fixes for Settings Panels UI Fixes include: - Fix height of bottom bar - Fix start / end padding of See More and Done buttons - Remove scroll shadow in recycler view - Consolidate most layout code into a single file, only separating the distinguished elements into the landscape file. I cannot fix b/126731930 until a Slice bug is fixed, where the top padding is applied to the bottom of sliceview instead. Fixes: 126720235 Fixes: 126720220 Fixes: 126720167 Test: manual inspection & layout inspector Change-Id: I6e3434aabe221134e7278f92bab34122719c179a --- res/layout-land/panel_layout.xml | 42 -------------------------- res/layout-land/panel_slice_list.xml | 24 +++++++++++++++ res/layout/panel_buttons.xml | 45 ---------------------------- res/layout/panel_layout.xml | 35 ++++++++++++++++++---- res/layout/panel_slice_list.xml | 24 +++++++++++++++ res/layout/panel_slice_row.xml | 2 +- 6 files changed, 78 insertions(+), 94 deletions(-) delete mode 100644 res/layout-land/panel_layout.xml create mode 100644 res/layout-land/panel_slice_list.xml delete mode 100644 res/layout/panel_buttons.xml create mode 100644 res/layout/panel_slice_list.xml diff --git a/res/layout-land/panel_layout.xml b/res/layout-land/panel_layout.xml deleted file mode 100644 index 049fd0b579b..00000000000 --- a/res/layout-land/panel_layout.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-land/panel_slice_list.xml b/res/layout-land/panel_slice_list.xml new file mode 100644 index 00000000000..ea7d8281a11 --- /dev/null +++ b/res/layout-land/panel_slice_list.xml @@ -0,0 +1,24 @@ + + + + \ No newline at end of file diff --git a/res/layout/panel_buttons.xml b/res/layout/panel_buttons.xml deleted file mode 100644 index 1bb38988888..00000000000 --- a/res/layout/panel_buttons.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - -