diff options
author | Jorim Jaggi <jjaggi@google.com> | 2016-08-15 15:45:44 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-15 15:45:44 +0000 |
commit | c7d24f761018035116071208179442b74fc372ff (patch) | |
tree | 774c3d1aeaf93f03d9505d74b9d2eead039906ed /res | |
parent | e6c991b223aeb05d52acea664a394ad1a5d64b37 (diff) | |
parent | 3e6d82871ffc5edd36c488e35e2806187040a1ec (diff) | |
download | android_packages_wallpapers_LivePicker-c7d24f761018035116071208179442b74fc372ff.tar.gz android_packages_wallpapers_LivePicker-c7d24f761018035116071208179442b74fc372ff.tar.bz2 android_packages_wallpapers_LivePicker-c7d24f761018035116071208179442b74fc372ff.zip |
Use proper action bar item background am: e230815d84 am: a754208ad6
am: 3e6d82871f
Change-Id: I7c621e9e987e24ea36f6dc0b2a45c0182e4f63b4
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/set_wallpaper_action.xml | 24 | ||||
-rw-r--r-- | res/menu/menu_preview.xml | 3 | ||||
-rw-r--r-- | res/values/styles.xml | 1 |
3 files changed, 26 insertions, 2 deletions
diff --git a/res/layout/set_wallpaper_action.xml b/res/layout/set_wallpaper_action.xml new file mode 100644 index 0000000..02f4fcd --- /dev/null +++ b/res/layout/set_wallpaper_action.xml @@ -0,0 +1,24 @@ +<!-- + ~ 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 + --> + +<Button + xmlns:android="http://schemas.android.com/apk/res/android" + style="?android:attr/actionButtonStyle" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:text="@string/set_live_wallpaper" + android:textAppearance="?android:attr/actionMenuTextAppearance" + android:background="?android:attr/selectableItemBackgroundBorderless"/>
\ No newline at end of file diff --git a/res/menu/menu_preview.xml b/res/menu/menu_preview.xml index 8ab2fb3..471e506 100644 --- a/res/menu/menu_preview.xml +++ b/res/menu/menu_preview.xml @@ -25,6 +25,7 @@ <item android:id="@+id/set_wallpaper" android:title="@string/set_live_wallpaper" - android:showAsAction="always|withText" /> + android:showAsAction="always|withText" + android:actionLayout="@layout/set_wallpaper_action"/> </menu> diff --git a/res/values/styles.xml b/res/values/styles.xml index ff942e2..c3dc2b3 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -36,7 +36,6 @@ <item name="colorAccent">@*android:color/accent_device_default_dark</item> <item name="android:windowDisablePreview">true</item> - </style> <style name="TranslucentToolbarStyle" parent="@style/Widget.AppCompat.Toolbar"> |