From 4d565990c902cfcc458c5eae35ff10306c1e1ec9 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Sat, 11 Aug 2018 11:50:50 -0400 Subject: [PATCH] Add drop shadow under attachment drawer. --- res/drawable/attachment_selector_shadow.xml | 11 + res/layout/attachment_type_selector.xml | 405 ++++++++++---------- res/values/colors.xml | 1 + 3 files changed, 220 insertions(+), 197 deletions(-) create mode 100644 res/drawable/attachment_selector_shadow.xml diff --git a/res/drawable/attachment_selector_shadow.xml b/res/drawable/attachment_selector_shadow.xml new file mode 100644 index 0000000000..34e2aa8cd4 --- /dev/null +++ b/res/drawable/attachment_selector_shadow.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/res/layout/attachment_type_selector.xml b/res/layout/attachment_type_selector.xml index 4c90c09c62..8d84bf3680 100644 --- a/res/layout/attachment_type_selector.xml +++ b/res/layout/attachment_type_selector.xml @@ -1,224 +1,235 @@ + + android:layout_height="wrap_content"> - + - + android:background="?attachment_type_selector_background"> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:layout_marginTop="16dp" + android:weightSum="4"> - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + android:layout_marginTop="16dp" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:layout_marginBottom="16dp" + android:weightSum="4"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - diff --git a/res/values/colors.xml b/res/values/colors.xml index 61667f92e4..64c95f7607 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -57,6 +57,7 @@ #99ffffff #00FFFFFF + #00000000 #88000000