From 89a9d1b14753ccdb085f750f6f28eac8aee3ccf3 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 1 Oct 2018 14:35:23 +0200 Subject: [PATCH] draw a line atop of the expanded attachment drawer, closes #59 --- 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 000000000..34e2aa8cd --- /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 4c90c09c6..8d84bf368 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 48a903d20..a6b14bbc9 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -59,6 +59,7 @@ #99ffffff #00FFFFFF + #00000000 #88000000