Update Support7Demos for L appcompat
New Toolbar samples along with some improvements for the other Action Bar activities. Change-Id: I28dca1bd86ea4c269b711f4d10283e71384a33ac
This commit is contained in:
@@ -121,6 +121,9 @@
|
||||
necessary.
|
||||
</string>
|
||||
|
||||
<string name="toolbar_usage">AppCompat/Toolbar/Toolbar as Action Bar</string>
|
||||
<string name="toolbar_display_options">AppCompat/Toolbar/Toolbar Display Options</string>
|
||||
<string name="toolbar_fragment_pager">AppCompat/Toolbar/Toolbar Fragment ViewPager</string>
|
||||
|
||||
<string name="sample_media_route_provider_remote">Remote Playback (Simulated)</string>
|
||||
<string name="sample_media_route_activity_local">Local Playback</string>
|
||||
@@ -156,5 +159,6 @@
|
||||
|
||||
<string name="palette">Palette</string>
|
||||
<string name="palette_all_colors">Full color palette</string>
|
||||
<string name="search_hint">Search...</string>
|
||||
|
||||
</resources>
|
||||
|
||||
32
samples/Support7Demos/res/values/styles.xml
Normal file
32
samples/Support7Demos/res/values/styles.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="Theme.Custom" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="colorPrimary">#ff00bcd4</item>
|
||||
<item name="colorPrimaryDark">#00838f</item>
|
||||
<item name="colorAccent">#ffff00</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Custom.NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorPrimary">#ff00bcd4</item>
|
||||
<item name="colorPrimaryDark">#00838f</item>
|
||||
<item name="colorAccent">#ffff00</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user