summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-05-18 18:05:21 -0700
committerYorke Lee <yorkelee@google.com>2014-05-18 18:05:21 -0700
commit4ccef87921a49fa007ee835ba0355f56df5639ad (patch)
treef9effba872ec1bda93cdc6a3086e529acf6badcf
parente026fac8868f7393ccab2ce4ceb8faa9bd2530b2 (diff)
Use tinted voicemail delete icon
Bug: 14670138 Change-Id: Iedf3d2f460dcc5f4a0519e63d5135fca341ea6ca
-rw-r--r--res/drawable/ic_voicemail_delete.xml20
-rw-r--r--res/menu/call_details_options.xml2
-rw-r--r--res/values/colors.xml3
3 files changed, 24 insertions, 1 deletions
diff --git a/res/drawable/ic_voicemail_delete.xml b/res/drawable/ic_voicemail_delete.xml
new file mode 100644
index 000000000..e81da9a49
--- /dev/null
+++ b/res/drawable/ic_voicemail_delete.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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.
+ 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_delete_dk"
+ android:gravity="center"
+ android:tint="@color/actionbar_icon_color" />
diff --git a/res/menu/call_details_options.xml b/res/menu/call_details_options.xml
index 39c8a6760..c1daa6fe2 100644
--- a/res/menu/call_details_options.xml
+++ b/res/menu/call_details_options.xml
@@ -16,7 +16,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/menu_trash"
- android:icon="@drawable/ic_menu_delete_dk"
+ android:icon="@drawable/ic_voicemail_delete"
android:showAsAction="ifRoom"
android:title="@string/recentCalls_trashVoicemail"
android:onClick="onMenuTrashVoicemail"
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 301d4162f..c00ad6b75 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -121,4 +121,7 @@
<!-- Color for answered or outgoing call icons. -->
<color name="answered_call">#2aad6f</color>
+
+ <!-- Color for icons in the actionbar -->
+ <color name="actionbar_icon_color">#ffffff</color>
</resources>