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>BasicAccessibility</name> 19 <group>UI</group> 20 <package>com.example.android.basicaccessibility</package> 21 22 23 <!-- change minSdk if needed--> 24 <minSdk>11</minSdk> 25 26 <strings> 27 <intro> 28 <![CDATA[ 29 This sample demonstrates how to create an accessible application, using a mix of different widgets demonstrating different ways of adding accessibility markup to a UI. 30 ]]> 31 </intro> 32 </strings> 33 34 <metadata> 35 <status>PUBLISHED</status> 36 <categories>UI</categories> 37 <technologies>Android</technologies> 38 <languages>Java</languages> 39 <solutions>Mobile</solutions> 40 <level>BEGINNER</level> 41 <icon>screenshots/icon-web.png</icon> 42 <screenshots> 43 <img>screenshots/main.png</img> 44 </screenshots> 45 <api_refs> 46 <android>android.view.View</android> 47 <android>android.view.accessibility.AccessibilityEvent</android> 48 </api_refs> 49 <description> 50 <![CDATA[ 51 This sample demonstrates how to create an accessible application, using a mix of different widgets 52 demonstrating different ways of adding accessibility markup to a UI. 53 ]]> 54 </description> 55 <intro> 56 <![CDATA[ 57 This sample demonstrates how to create an accessible application, showing 58 how to add accessibility to both framework and custom widgets. 59 60 To run this sample as intended you will need to turn on TalkBack (or another text to speach system) 61 on your Android device. Go to Settings > Accessibility > TalkBack to turn TalkBack on. 62 63 When you run the sample with TalkBack mode on, TalkBack will read aloud the 64 description of the in-focus widget. 65 ]]> 66 </intro> 67 </metadata> 68 69 <template src="base"/> 70 <common src="logger"/> 71 72 </sample> 73