43 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<!--
 | 
						|
 Copyright 2013 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.
 | 
						|
-->
 | 
						|
<sample>
 | 
						|
    <name>ImmersiveMode</name>
 | 
						|
    <group>UI</group>
 | 
						|
    <package>com.example.android.immersivemode</package>
 | 
						|
    
 | 
						|
    <!--TODO: change minSdk if needed-->
 | 
						|
    <minSdk>14</minSdk>
 | 
						|
 | 
						|
 | 
						|
    <strings>
 | 
						|
        <intro>
 | 
						|
            <![CDATA[
 | 
						|
            One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
 | 
						|
            user the ability to show/hide the status bar and navigation bar with a swipe.  To try,
 | 
						|
            click the "Toggle immersive mode" button, then try swiping the bar in and out!
 | 
						|
            ]]>
 | 
						|
        </intro>
 | 
						|
        <sample_action>Toggle immersive mode!</sample_action>
 | 
						|
    </strings>
 | 
						|
 | 
						|
    <template src="base"/>
 | 
						|
    <template src="SingleView"/>
 | 
						|
    <common src="logger"/>
 | 
						|
    <common src="activities"/>
 | 
						|
 | 
						|
</sample>
 |