summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBryan Owens <djbryan3540@gmail.com>2016-08-18 19:45:01 -0500
committerClark Scheff <clark@cyngn.com>2016-08-26 08:52:16 -0700
commitdb7e3897056d7f089b59d8098b84a6ea29e6d644 (patch)
tree9751b79e38ad7c115654e8fede659ef17f5cee95 /core
parentc2f177009eaad44508541710da17a626793d5c7d (diff)
downloadframeworks_base-db7e3897056d7f089b59d8098b84a6ea29e6d644.zip
frameworks_base-db7e3897056d7f089b59d8098b84a6ea29e6d644.tar.gz
frameworks_base-db7e3897056d7f089b59d8098b84a6ea29e6d644.tar.bz2
Themes: Give power dialogs own set of volume icons for themes
Change-Id: Ica874be3be89f12b6ecea444d442706bc1fd91ba Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/res/res/drawable/ic_power_dnd_priority.xml19
-rw-r--r--core/res/res/drawable/ic_power_dnd_total_silence.xml19
-rw-r--r--core/res/res/drawable/ic_power_ring.xml19
-rw-r--r--core/res/res/drawable/ic_power_vibrate.xml19
-rw-r--r--core/res/res/layout/global_actions_silent_mode.xml8
5 files changed, 80 insertions, 4 deletions
diff --git a/core/res/res/drawable/ic_power_dnd_priority.xml b/core/res/res/drawable/ic_power_dnd_priority.xml
new file mode 100644
index 0000000..87a1216
--- /dev/null
+++ b/core/res/res/drawable/ic_power_dnd_priority.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ic_lock_dnd_priority" />
+</selector>
diff --git a/core/res/res/drawable/ic_power_dnd_total_silence.xml b/core/res/res/drawable/ic_power_dnd_total_silence.xml
new file mode 100644
index 0000000..bd4e2ed
--- /dev/null
+++ b/core/res/res/drawable/ic_power_dnd_total_silence.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ic_lock_dnd_total_silence" />
+</selector>
diff --git a/core/res/res/drawable/ic_power_ring.xml b/core/res/res/drawable/ic_power_ring.xml
new file mode 100644
index 0000000..3f3b856
--- /dev/null
+++ b/core/res/res/drawable/ic_power_ring.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ic_lock_ring" />
+</selector>
diff --git a/core/res/res/drawable/ic_power_vibrate.xml b/core/res/res/drawable/ic_power_vibrate.xml
new file mode 100644
index 0000000..068286b
--- /dev/null
+++ b/core/res/res/drawable/ic_power_vibrate.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ic_lock_vibrate" />
+</selector>
diff --git a/core/res/res/layout/global_actions_silent_mode.xml b/core/res/res/layout/global_actions_silent_mode.xml
index 56fa28b..0827a4d 100644
--- a/core/res/res/layout/global_actions_silent_mode.xml
+++ b/core/res/res/layout/global_actions_silent_mode.xml
@@ -37,7 +37,7 @@
android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
- android:src="@drawable/ic_lock_dnd_total_silence"
+ android:src="@drawable/ic_power_dnd_total_silence"
android:scaleType="center"
android:duplicateParentState="true"
android:background="@drawable/silent_mode_indicator"
@@ -66,7 +66,7 @@
android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
- android:src="@drawable/ic_lock_dnd_priority"
+ android:src="@drawable/ic_power_dnd_priority"
android:scaleType="center"
android:duplicateParentState="true"
android:background="@drawable/silent_mode_indicator"
@@ -95,7 +95,7 @@
android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
- android:src="@drawable/ic_lock_vibrate"
+ android:src="@drawable/ic_power_vibrate"
android:scaleType="center"
android:duplicateParentState="true"
android:background="@drawable/silent_mode_indicator"
@@ -124,7 +124,7 @@
android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
- android:src="@drawable/ic_lock_ring"
+ android:src="@drawable/ic_power_ring"
android:scaleType="center"
android:duplicateParentState="true"
android:background="@drawable/silent_mode_indicator"