summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-06-03 15:33:11 -0700
committerTyler Gunn <tgunn@google.com>2014-06-03 22:36:54 +0000
commit7ebb3c21b1861aee7cef9380ca3a4f78e5abc661 (patch)
tree5e2ee49dad67c61ae9153cb9b03b12d4b3b676a9 /res
parentfa3b108973f3cd47dba32b87d66372b23b27243a (diff)
Removing shadow from overflow menu on call details and call logs.
The default white LMP overflow menu has a shadow which is inconsistent with the other icons in the dialer app which have no shadow. Bug: 15411375 Change-Id: Ia36597bea5e9d176a168668023b562f5742e0414
Diffstat (limited to 'res')
-rw-r--r--res/drawable/overflow_menu.xml20
-rw-r--r--res/values/styles.xml8
2 files changed, 28 insertions, 0 deletions
diff --git a/res/drawable/overflow_menu.xml b/res/drawable/overflow_menu.xml
new file mode 100644
index 000000000..0467d6bf1
--- /dev/null
+++ b/res/drawable/overflow_menu.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_overflow_menu"
+ android:autoMirrored="true"
+ android:tint="@color/actionbar_icon_color" />
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d41524f2b..194bc7dbc 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -81,12 +81,19 @@
<item name="android:src">@drawable/ic_menu_overflow_lt</item>
</style>
+ <!-- Action bar overflow menu icon. White with no shadow. -->
+ <style name="DialtactsActionBarOverflowWhite"
+ parent="@android:style/Widget.Quantum.Light.ActionButton.Overflow">
+ <item name="android:src">@drawable/overflow_menu</item>
+ </style>
+
<style name="DialpadTheme" parent="DialtactsTheme">
<item name="android:textColorPrimary">#FFFFFF</item>
</style>
<style name="DialtactsThemeWithoutActionBarOverlay" parent="DialtactsTheme">
<item name="android:windowActionBarOverlay">false</item>
+ <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item>
</style>
<!-- Hide the actionbar title during the activity preview -->
@@ -107,6 +114,7 @@
<item name="call_log_voicemail_status_background_color">#262626</item>
<item name="call_log_voicemail_status_text_color">#888888</item>
<item name="call_log_voicemail_status_action_text_color">#33b5e5</item>
+ <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item>
</style>
<style name="DialtactsActionBarStyle" parent="android:Widget.Quantum.ActionBar">