summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-06-05 13:23:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-05 13:23:13 +0000
commitd7dbe16142b0fc3faf448a81f3be13af7e95909f (patch)
treeb10ee547d289fecb8e93dd8d3b8554d63c6aa2d0 /res
parent1cb267ae67fdff22e2058eb3ee1e6b32994f24d6 (diff)
parent2d499533b70072a914542b84e9cc8bdb8aca78d8 (diff)
downloadpackages_apps_Settings-d7dbe16142b0fc3faf448a81f3be13af7e95909f.zip
packages_apps_Settings-d7dbe16142b0fc3faf448a81f3be13af7e95909f.tar.gz
packages_apps_Settings-d7dbe16142b0fc3faf448a81f3be13af7e95909f.tar.bz2
Merge "Fix some dark theme issues (Take 2)" into mnc-dev
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_menu_delete.pngbin244 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_menu_delete.pngbin162 -> 0 bytes
-rw-r--r--res/drawable-xhdpi/ic_menu_delete.pngbin208 -> 0 bytes
-rw-r--r--res/drawable-xxhdpi/ic_menu_delete.pngbin294 -> 0 bytes
-rw-r--r--res/drawable-xxxhdpi/ic_menu_delete.pngbin319 -> 0 bytes
-rw-r--r--res/drawable/ic_menu_add.xml20
-rw-r--r--res/drawable/ic_menu_delete.xml25
-rw-r--r--res/layout/data_usage_chart.xml8
-rw-r--r--res/values-night/colors.xml4
-rw-r--r--res/values/colors.xml8
-rw-r--r--res/values/themes.xml2
11 files changed, 56 insertions, 11 deletions
diff --git a/res/drawable-hdpi/ic_menu_delete.png b/res/drawable-hdpi/ic_menu_delete.png
deleted file mode 100644
index e25b44f..0000000
--- a/res/drawable-hdpi/ic_menu_delete.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_delete.png b/res/drawable-mdpi/ic_menu_delete.png
deleted file mode 100644
index b0517ad..0000000
--- a/res/drawable-mdpi/ic_menu_delete.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_menu_delete.png b/res/drawable-xhdpi/ic_menu_delete.png
deleted file mode 100644
index 33010c6..0000000
--- a/res/drawable-xhdpi/ic_menu_delete.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_menu_delete.png b/res/drawable-xxhdpi/ic_menu_delete.png
deleted file mode 100644
index 6171b5a..0000000
--- a/res/drawable-xxhdpi/ic_menu_delete.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxxhdpi/ic_menu_delete.png b/res/drawable-xxxhdpi/ic_menu_delete.png
deleted file mode 100644
index e380101..0000000
--- a/res/drawable-xxxhdpi/ic_menu_delete.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/ic_menu_add.xml b/res/drawable/ic_menu_add.xml
new file mode 100644
index 0000000..ed58072
--- /dev/null
+++ b/res/drawable/ic_menu_add.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ 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.
+-->
+
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/ic_menu_add_white"
+ android:tint="?android:attr/colorAccent" />
diff --git a/res/drawable/ic_menu_delete.xml b/res/drawable/ic_menu_delete.xml
new file mode 100644
index 0000000..74f63c3
--- /dev/null
+++ b/res/drawable/ic_menu_delete.xml
@@ -0,0 +1,25 @@
+<!--
+ 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.
+ 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.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24.0dp"
+ android:height="24.0dp"
+ android:viewportWidth="48.0"
+ android:viewportHeight="48.0"
+ android:tint="?android:attr/colorAccent">
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M12.0,38.0c0.0,2.21 1.79,4.0 4.0,4.0l16.0,0.0c2.21,0.0 4.0,-1.79 4.0,-4.0L36.0,14.0L12.0,14.0l0.0,24.0zM38.0,8.0l-7.0,0.0l-2.0,-2.0L19.0,6.0l-2.0,2.0l-7.0,0.0l0.0,4.0l28.0,0.0L38.0,8.0z"/>
+</vector>
diff --git a/res/layout/data_usage_chart.xml b/res/layout/data_usage_chart.xml
index 2f9d962..648c7f8 100644
--- a/res/layout/data_usage_chart.xml
+++ b/res/layout/data_usage_chart.xml
@@ -43,7 +43,7 @@
android:layout_height="match_parent"
android:layout_gravity="start|bottom"
settings:strokeColor="#00000000"
- settings:fillColor="#ff009688"
+ settings:fillColor="?android:attr/colorAccent"
settings:fillColorSecondary="#ff80cbc4"
settings:safeRegion="3dp" />
@@ -53,8 +53,8 @@
android:layout_height="match_parent"
android:layout_gravity="start|bottom"
settings:strokeColor="#00000000"
- settings:fillColor="#ff009688"
- settings:fillColorSecondary="#ff009688"
+ settings:fillColor="?android:attr/colorAccent"
+ settings:fillColorSecondary="?android:attr/colorAccent"
settings:safeRegion="3dp" />
<com.android.settings.widget.ChartSweepView
@@ -67,7 +67,7 @@
settings:neighborMargin="5dip"
settings:labelSize="60dip"
settings:labelTemplate="@string/data_usage_sweep_warning"
- settings:labelColor="#ff37474f"
+ settings:labelColor="?android:attr/textColorSecondary"
settings:safeRegion="4dp" />
<com.android.settings.widget.ChartSweepView
diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml
index 81d7347..dba17bd 100644
--- a/res/values-night/colors.xml
+++ b/res/values-night/colors.xml
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="card_background">#ff424242</color>
-</resources> \ No newline at end of file
+ <color name="lock_pattern_view_regular_color">@*android:color/secondary_text_default_material_dark</color>
+
+</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index a1859ca..d0ef652 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -61,12 +61,11 @@
<color name="unlock_pattern_view_regular_color">@android:color/white</color>
<color name="unlock_pattern_view_error_color">@color/system_warning_color</color>
- <color name="fingerprint_title_area_bg">#ff009688</color>
+ <color name="fingerprint_title_area_bg">?android:attr/colorAccent</color>
<color name="fingerprint_title_color">#ffffffff</color>
<color name="fingerprint_message_color">#de000000</color>
- <color name="fingerprint_progress_ring">#ff009688</color>
+ <color name="fingerprint_progress_ring">?android:attr/colorAccent</color>
<color name="fingerprint_progress_ring_bg">#20000000</color>
- <color name="fingerprint_dot_color">#ff009688</color>
<color name="running_processes_system_ram">#ff384248</color>
<color name="running_processes_apps_ram">#ff009587</color>
@@ -78,13 +77,12 @@
<color name="switch_accent_color">#ff7fcac3</color>
<color name="wifi_divider">#ffe0e0e0</color>
- <color name="wifi_signal_icon_color">#ff009688</color>
<color name="sim_noitification">@*android:color/material_deep_teal_500</color>
<color name="warning">#ff5621</color>
<color name="confirm_device_credential_dark_background">#263238</color>
<color name="fab_ripple">#1fffffff</color><!-- 12% white -->
- <color name="fab_shape">#ff009688</color><!-- Teal 500 -->
+ <color name="fab_shape">?android:attr/colorAccent</color>
<color name="voice_interaction_highlight">#33b5e5</color>
<drawable name="fp_enrollment_header_landscape">#009688</drawable>
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 76fc04f..c2285e2 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -93,7 +93,7 @@
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_holo_dark</item>
<item name="ic_wps">@drawable/ic_wps_light</item>
<item name="wifi_signal">@drawable/wifi_signal</item>
- <item name="wifi_signal_color">@color/wifi_signal_icon_color</item>
+ <item name="wifi_signal_color">?android:attr/colorAccent</item>
<item name="side_margin">@dimen/settings_side_margin</item>
<!-- Redefine the ActionBar style for contentInsetStart -->