1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2013 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<sample> 18 <name>ActionBarCompat-Styled</name> 19 <group>UI</group> 20 <package>com.example.android.actionbarcompat.styled</package> 21 22 <!-- change minSdk if needed--> 23 <minSdk>14</minSdk> 24 25 26 <strings> 27 <intro> 28 <![CDATA[ 29 This sample shows you how to use ActionBarCompat with a customized theme. It utilizes a 30 split action bar when running on a device with a narrow display, and show three tabs. 31 ]]> 32 </intro> 33 </strings> 34 35 <template src="base"/> 36 37<metadata> 38 <status>PUBLISHED</status> 39 <categories>ActionBar</categories> 40 <technologies>Android</technologies> 41 <languages>Java</languages> 42 <solutions>Mobile</solutions> 43 <level>INTERMEDIATE</level> 44 <icon>screenshots/big_icon.png</icon> 45 <screenshots> 46 <img>screenshots/1-activity.png</img> 47 </screenshots> 48 49 <api_refs> 50 <android>android.support.v7.app.AppCompatActivity</android> 51 </api_refs> 52 53 <description> 54<![CDATA[ 55This sample shows you how to use ActionBarCompat with a customized theme. It utilizes a 56split action bar when running on a device with a narrow display, and shows three tabs. 57]]> 58 </description> 59 <intro> 60<![CDATA[ 61This sample shows how to style an ActionBar using the [support library][1] on devices running 62Android v2.1+ using a custom theme. 63 64This Activity extends from AppCompatActivity, which provides all of the function 65necessary to display a compatible Action Bar on devices running Android v2.1+. 66A custom application theme and styles are defined in XML. 67 68Assets have been generated using the ['Android Action Bar Style Generator'][2]. 69 70[1]: http://developer.android.com/tools/support-library/ 71[2]: http://jgilfelt.github.io/android-actionbarstylegenerator 72]]> 73 </intro> 74</metadata> 75</sample> 76