| <?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>AdvancedImmersiveMode</name> |
| <package>com.example.android.advancedimmersivemode</package> |
| <group>UI</group> |
| |
| |
| <!-- change minSdk if needed--> |
| <minSdk>4</minSdk> |
| <compileSdkVersion>19</compileSdkVersion> |
| |
| <strings> |
| <intro> |
| <![CDATA[ |
| \"Immersive Mode\" is a new UI mode which improves \"hide full screen\" and |
| \"hide nav bar\" modes, by letting users swipe the bars in and out. This sample |
| lets the user experiment with immersive mode by enabling it and seeing how it interacts |
| with some of the other UI flags related to full-screen apps. |
| \n\nThis sample also lets the user choose between normal immersive mode and "sticky" |
| immersive mode, which removes the status bar and nav bar |
| a few seconds after the user has swiped them back in. |
| ]]> |
| </intro> |
| <sample_action>Try these settings!</sample_action> |
| </strings> |
| |
| <template src="base"/> |
| <template src="SingleView"/> |
| <common src="logger"/> |
| <common src="activities"/> |
| |
| </sample> |