Home | History | Annotate | Download | only in BasicImmersiveMode
      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>BasicImmersiveMode</name>
     19     <group>UI</group>
     20     <package>com.example.android.basicimmersivemode</package>
     21     
     22 
     23 
     24     <!-- change minSdk if needed-->
     25     <minSdk>19</minSdk>
     26     <compileSdkVersion>19</compileSdkVersion>
     27 
     28     <strings>
     29         <intro>
     30             <![CDATA[
     31             \"Immersive Mode\" is a new UI mode which improves \"hide full screen\" and
     32             \"hide nav bar\" modes, by letting users swipe the bars in and out.  This sample
     33             demonstrates how to enable and disable immersive mode programmatically.
     34             ]]>
     35         </intro>
     36         <sample_action>Toggle Immersive Mode!</sample_action>
     37     </strings>
     38 
     39     <template src="base"/>
     40     <template src="SingleView"/>
     41     <common src="logger"/>
     42     <common src="activities"/>
     43 
     44 </sample>
     45