summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI
diff options
context:
space:
mode:
authorBryan Owens <djbryan3540@gmail.com>2015-12-02 15:51:46 -0600
committerSteve Kondik <shade@chemlab.org>2015-12-04 19:31:35 -0800
commite6458a3380b36ab0e3538159e854b7f815a838f3 (patch)
tree8f145f5e0cda1021f6b744836db8f7bc66cd4faf /packages/DocumentsUI
parent1356ccdfdb5786ba678ed54b4fab36a6949c5fe4 (diff)
downloadframeworks_base-e6458a3380b36ab0e3538159e854b7f815a838f3.zip
frameworks_base-e6458a3380b36ab0e3538159e854b7f815a838f3.tar.gz
frameworks_base-e6458a3380b36ab0e3538159e854b7f815a838f3.tar.bz2
Themes: Expose "ALL" layouts hard code in frameworks base for themes
Exposing all the hard coded layout colors in the enitre base so themes can have access. Change-Id: I4bc88573d0d7e41fc80d1580ab4e012f48c442d3 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Diffstat (limited to 'packages/DocumentsUI')
-rw-r--r--packages/DocumentsUI/res/layout-sw720dp/activity.xml4
-rw-r--r--packages/DocumentsUI/res/layout/activity.xml2
-rw-r--r--packages/DocumentsUI/res/values/cm_colors.xml2
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/DocumentsUI/res/layout-sw720dp/activity.xml b/packages/DocumentsUI/res/layout-sw720dp/activity.xml
index 221de13..f72d3ab 100644
--- a/packages/DocumentsUI/res/layout-sw720dp/activity.xml
+++ b/packages/DocumentsUI/res/layout-sw720dp/activity.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2013 The Android Open Source Project
+<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
- android:background="?android:attr/colorPrimary"
+ android:background="@color/toolbar_background_color"
android:elevation="8dp"
android:theme="?android:attr/actionBarTheme">
diff --git a/packages/DocumentsUI/res/layout/activity.xml b/packages/DocumentsUI/res/layout/activity.xml
index 3de76d0..b8557ee 100644
--- a/packages/DocumentsUI/res/layout/activity.xml
+++ b/packages/DocumentsUI/res/layout/activity.xml
@@ -28,7 +28,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
- android:background="?android:attr/colorPrimary"
+ android:background="@color/toolbar_background_color"
android:elevation="8dp"
android:theme="?android:attr/actionBarTheme">
diff --git a/packages/DocumentsUI/res/values/cm_colors.xml b/packages/DocumentsUI/res/values/cm_colors.xml
index 1fa1a80..abeb20c 100644
--- a/packages/DocumentsUI/res/values/cm_colors.xml
+++ b/packages/DocumentsUI/res/values/cm_colors.xml
@@ -19,5 +19,5 @@
<!-- adding new exposed theme components -->
<color name="drawer_background_color">#ffffffff</color>
<color name="font_color_doc_grid">#ffffffff</color>
-
+ <color name="toolbar_background_color">?android:attr/colorPrimary</color>
</resources>