Home | History | Annotate | Download | only in main
      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 
     18 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     19     package="com.example.android.actionbarcompat.styled"
     20     android:versionCode="1"
     21     android:versionName="1.0" >
     22 
     23     <uses-sdk
     24         android:minSdkVersion="7"
     25         android:targetSdkVersion="17" />
     26 
     27     <!--
     28         Theme is set on the application so that our custom theme is used by
     29         default by all Activities
     30     -->
     31     <application
     32         android:icon="@drawable/ic_launcher"
     33         android:label="@string/app_name"
     34         android:theme="@style/Theme.Styled" >
     35 
     36         <activity android:name=".MainActivity">
     37 
     38             <!-- Launcher Intent filter -->
     39             <intent-filter>
     40                 <action android:name="android.intent.action.MAIN" />
     41                 <category android:name="android.intent.category.LAUNCHER" />
     42             </intent-filter>
     43 
     44             <!--
     45                 In this example set the Activity to have a split action bar when the device's
     46                 display is narrow. In ActionBarCompat this is done by setting the
     47                 'android.support.UI_OPTIONS' metadata field to 'splitActionBarWhenNarrow'.
     48             -->
     49             <meta-data
     50                 android:name="android.support.UI_OPTIONS"
     51                 android:value="splitActionBarWhenNarrow" />
     52 
     53         </activity>
     54     </application>
     55 
     56 </manifest>
     57