summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-12-05 00:25:36 -0800
committerSteve Kondik <steve@cyngn.com>2015-12-05 00:52:17 -0800
commit0dc882ea06de7a322f62796883c45d5fd1f216f8 (patch)
tree299030c060d2b1ce4fe5bf7950afe3659d815e49 /packages/PrintSpooler
parentc1cacfbc14e29916194048218f5d483f4b3554e3 (diff)
downloadframeworks_base-0dc882ea06de7a322f62796883c45d5fd1f216f8.zip
frameworks_base-0dc882ea06de7a322f62796883c45d5fd1f216f8.tar.gz
frameworks_base-0dc882ea06de7a322f62796883c45d5fd1f216f8.tar.bz2
Revert "Themes: Expose "ALL" layouts hard code in frameworks base for themes"
* Many apps which display listviews crash with this change. Reverting for now. This reverts commit e6458a3380b36ab0e3538159e854b7f815a838f3. Change-Id: Icc4d0ee18c708a5692db0b20f7b6b2084d8dd43b
Diffstat (limited to 'packages/PrintSpooler')
-rw-r--r--packages/PrintSpooler/res/layout/print_activity.xml4
-rw-r--r--packages/PrintSpooler/res/layout/print_activity_controls.xml4
-rw-r--r--packages/PrintSpooler/res/values/cm_colors.xml21
3 files changed, 4 insertions, 25 deletions
diff --git a/packages/PrintSpooler/res/layout/print_activity.xml b/packages/PrintSpooler/res/layout/print_activity.xml
index b7cde15..6b8aa47 100644
--- a/packages/PrintSpooler/res/layout/print_activity.xml
+++ b/packages/PrintSpooler/res/layout/print_activity.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2015 The Android Open Source Project
+<!-- Copyright (C) 2013 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.
@@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:paddingStart="8dip"
android:elevation="@dimen/preview_controls_elevation"
- android:background="@color/static_content_background">
+ android:background="?android:attr/colorPrimary">
<Spinner
android:id="@+id/destination_spinner"
diff --git a/packages/PrintSpooler/res/layout/print_activity_controls.xml b/packages/PrintSpooler/res/layout/print_activity_controls.xml
index 6db025a..a87afe0 100644
--- a/packages/PrintSpooler/res/layout/print_activity_controls.xml
+++ b/packages/PrintSpooler/res/layout/print_activity_controls.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2015 The Android Open Source Project
+<!-- Copyright (C) 2014 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.
@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:elevation="@dimen/preview_controls_elevation"
- android:background="@color/dynamic_content_background">
+ android:background="?android:attr/colorPrimary">
<LinearLayout
android:id="@+id/draggable_content"
diff --git a/packages/PrintSpooler/res/values/cm_colors.xml b/packages/PrintSpooler/res/values/cm_colors.xml
deleted file mode 100644
index fbc05de..0000000
--- a/packages/PrintSpooler/res/values/cm_colors.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015 The CyanogenMod Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<resources>
- <color name="dynamic_content_background">?android:attr/colorPrimary</color>
- <color name="static_content_background">?android:attr/colorPrimary</color>
-</resources>