Alexander Lucas | 14d77c9 | 2013-09-18 14:59:45 -0700 | [diff] [blame^] | 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>AdvancedImmersiveMode</name> |
| 19 | <package>com.example.android.advancedimmersivemode</package> |
| 20 | <group>UI</group> |
| 21 | |
| 22 | |
| 23 | <!-- change minSdk if needed--> |
| 24 | <minSdk>4</minSdk> |
| 25 | <compileSdkVersion>19</compileSdkVersion> |
| 26 | |
| 27 | <strings> |
| 28 | <intro> |
| 29 | <![CDATA[ |
| 30 | \"Immersive Mode\" is a new UI mode which improves \"hide full screen\" and |
| 31 | \"hide nav bar\" modes, by letting users swipe the bars in and out. This sample |
| 32 | lets the user experiment with immersive mode by enabling it and seeing how it interacts |
| 33 | with some of the other UI flags related to full-screen apps. |
| 34 | \n\nThis sample also lets the user choose between normal immersive mode and "sticky" |
| 35 | immersive mode, which removes the status bar and nav bar |
| 36 | a few seconds after the user has swiped them back in. |
| 37 | ]]> |
| 38 | </intro> |
| 39 | <sample_action>Try these settings!</sample_action> |
| 40 | </strings> |
| 41 | |
| 42 | <template src="base"/> |
| 43 | <template src="SingleView"/> |
| 44 | <common src="logger"/> |
| 45 | <common src="activities"/> |
| 46 | |
| 47 | </sample> |