summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-06-04 22:58:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-04 22:58:34 +0000
commitcb516e2c78829466937a52f3ff8de5f1db14904f (patch)
tree996188e60cf363ef9d43c5333350466261af8244
parentdbeff93d3e647c7429d330d8a5dcecbd21758546 (diff)
parent81a41e1af0ef20e4b40503a630c2ee8a5afa1aca (diff)
am 81a41e1a: Merge "Removing shadow from overflow menu on call details and call logs." into lmp-preview-dev
* commit '81a41e1af0ef20e4b40503a630c2ee8a5afa1aca': Removing shadow from overflow menu on call details and call logs.
-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 6b4f41777..004b7099f 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -79,12 +79,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 -->
@@ -105,6 +112,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">