Home | History | Annotate | Download | only in ImmersiveMode
      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>ImmersiveMode</name>
     19     <group>UI</group>
     20     <package>com.example.android.immersivemode</package>
     21     
     22     <!--TODO: change minSdk if needed-->
     23     <minSdk>11</minSdk>
     24 
     25 
     26     <strings>
     27         <intro>
     28             <![CDATA[
     29             One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
     30             user the ability to show/hide the status bar and navigation bar with a swipe.  To try,
     31             click the "Toggle immersive mode" button, then try swiping the bar in and out!
     32             ]]>
     33         </intro>
     34         <sample_action>Toggle immersive mode!</sample_action>
     35     </strings>
     36 
     37     <template src="base"/>
     38     <template src="SingleView"/>
     39     <common src="logger"/>
     40     <common src="activities"/>
     41 
     42 </sample>
     43