summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@cyanogenmoditalia.it>2016-06-01 15:08:07 +0200
committerBruno Martins <bgcngm@gmail.com>2018-11-20 09:39:49 +0000
commitb09ee939e79960fb16d58fddcdeb658b44fe8758 (patch)
treec10c6699473b57beb605f2f6e3c415bff33a0c4a /src/com/android/gallery3d/app
parentb9a826cd4d1b58cfaf631496e6ea38516ea22a8b (diff)
downloadandroid_packages_apps_Gallery2-b09ee939e79960fb16d58fddcdeb658b44fe8758.tar.gz
android_packages_apps_Gallery2-b09ee939e79960fb16d58fddcdeb658b44fe8758.tar.bz2
android_packages_apps_Gallery2-b09ee939e79960fb16d58fddcdeb658b44fe8758.zip
Gallery2: Update theme
* Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
Diffstat (limited to 'src/com/android/gallery3d/app')
-rw-r--r--src/com/android/gallery3d/app/GalleryActionBar.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/GalleryActionBar.java b/src/com/android/gallery3d/app/GalleryActionBar.java
index 75653036f..dcea7c48c 100644
--- a/src/com/android/gallery3d/app/GalleryActionBar.java
+++ b/src/com/android/gallery3d/app/GalleryActionBar.java
@@ -458,7 +458,8 @@ public class GalleryActionBar {
public void setBackGroundDefault()
{
- mActionBar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#e53935")));
+ mActionBar.setBackgroundDrawable(new ColorDrawable(
+ mContext.getResources().getColor(R.color.primary)));
}