blob: dde0163631e22e877c3fd96f5a93953085f2a73e [file] [log] [blame]
<?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>BasicAccessibility</name>
<group>UI</group>
<package>com.example.android.basicaccessibility</package>
<!-- change minSdk if needed-->
<minSdk>14</minSdk>
<strings>
<intro>
<![CDATA[
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.
]]>
</intro>
</strings>
<metadata>
<status>PUBLISHED</status>
<categories>UI</categories>
<technologies>Android</technologies>
<languages>Java</languages>
<solutions>Mobile</solutions>
<level>BEGINNER</level>
<icon>screenshots/icon-web.png</icon>
<screenshots>
<img>screenshots/main.png</img>
</screenshots>
<api_refs>
<android>android.view.View</android>
<android>android.view.accessibility.AccessibilityEvent</android>
</api_refs>
<description>
<![CDATA[
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.
]]>
</description>
<intro>
<![CDATA[
This sample demonstrates how to create an accessible application, showing
how to add accessibility to both framework and custom widgets.
To run this sample as intended you will need to turn on TalkBack (or another text to speach system)
on your Android device. Go to Settings > Accessibility > TalkBack to turn TalkBack on.
When you run the sample with TalkBack mode on, TalkBack will read aloud the
description of the in-focus widget.
]]>
</intro>
</metadata>
<template src="base"/>
<common src="logger"/>
</sample>