From ceba55b125a918c248f9cf465f5971f5b63b4548 Mon Sep 17 00:00:00 2001 From: Patrik Date: Thu, 7 Jan 2016 19:58:51 +0100 Subject: New drawer_headers for the different themes --- app/src/main/res/drawable/drawer_header_dark.png | Bin 0 -> 115054 bytes app/src/main/res/drawable/drawer_header_holo.png | Bin 0 -> 149240 bytes app/src/main/res/drawable/drawer_header_light.png | Bin 0 -> 131371 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/src/main/res/drawable/drawer_header_dark.png create mode 100644 app/src/main/res/drawable/drawer_header_holo.png create mode 100644 app/src/main/res/drawable/drawer_header_light.png (limited to 'app/src') diff --git a/app/src/main/res/drawable/drawer_header_dark.png b/app/src/main/res/drawable/drawer_header_dark.png new file mode 100644 index 00000000..a6d2c1fb Binary files /dev/null and b/app/src/main/res/drawable/drawer_header_dark.png differ diff --git a/app/src/main/res/drawable/drawer_header_holo.png b/app/src/main/res/drawable/drawer_header_holo.png new file mode 100644 index 00000000..3caa320b Binary files /dev/null and b/app/src/main/res/drawable/drawer_header_holo.png differ diff --git a/app/src/main/res/drawable/drawer_header_light.png b/app/src/main/res/drawable/drawer_header_light.png new file mode 100644 index 00000000..8f041092 Binary files /dev/null and b/app/src/main/res/drawable/drawer_header_light.png differ -- cgit v1.2.3 From 5b05b0334ab836abf40fab6bddf7b149fd320224 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 7 Jan 2016 14:01:29 -0800 Subject: #582 Update to use themed drawer_headers --- app/src/main/res/layout/drawer_header.xml | 2 +- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/themes.xml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/main/res/layout/drawer_header.xml b/app/src/main/res/layout/drawer_header.xml index 86222f43..3a9a2d49 100644 --- a/app/src/main/res/layout/drawer_header.xml +++ b/app/src/main/res/layout/drawer_header.xml @@ -4,7 +4,7 @@ android:layout_height="178dp" android:orientation="vertical" android:weightSum="1" - android:background="@drawable/drawer_header"> + android:background="?attr/drawerHeaderBackground"> + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index c125c18a..12784b94 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -63,6 +63,7 @@ true ?attr/colorPrimary @drawable/card_rounded_corners_light + @drawable/drawer_header_light @@ -141,6 +143,7 @@ @color/holoPrimaryDark @color/holoAccent @color/holoPrimary + @drawable/drawer_header_holo