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 18<sample> 19 <name>WearAccessibilityApp</name> 20 <group>Wearable</group> 21 <package>com.example.android.wearable.wear.wearaccessibilityapp</package> 22 23 <minSdkVersionWear>24</minSdkVersionWear> 24 <compileSdkVersionWear>26</compileSdkVersionWear> 25 <targetSdkVersionWear>26</targetSdkVersionWear> 26 27 <multiDexEnabled>true</multiDexEnabled> 28 29 <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> 30 <dependency_wearable>com.android.support.constraint:constraint-layout:1.0.2</dependency_wearable> 31 <dependency_wearable>com.android.support:appcompat-v7:27.1.0</dependency_wearable> 32 33 34 <strings> 35 <intro> 36 <![CDATA[ 37 Sample demostrates best practices for accessibility (a11y support). 38 ]]> 39 </intro> 40 </strings> 41 42 <template src="base-build" /> 43 <template src="Wear" /> 44 45 <metadata> 46 <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} --> 47 <status>PUBLISHED</status> 48 <!-- See http://go/sample-categories for details on the next 4 fields. --> 49 <!-- Most samples just need to udpate the Categories field. This is a comma- 50 seperated list of topic tags. Unlike the old category system, samples 51 may have multiple categories, so feel free to add extras. Try to avoid 52 simply tagging everything with "UI". :)--> 53 <categories>Wearable</categories> 54 <technologies>Android</technologies> 55 <languages>Java</languages> 56 <solutions>Mobile</solutions> 57 <!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} --> 58 <!-- Beginner is for "getting started" type content, or essential content. 59 (e.g. "Hello World", activities, intents) 60 61 Intermediate is for content that covers material a beginner doesn't need 62 to know, but that a skilled developer is expected to know. 63 (e.g. services, basic styles and theming, sync adapters) 64 65 Advanced is for highly technical content geared towards experienced developers. 66 (e.g. performance optimizations, custom views, bluetooth) 67 68 Expert is reserved for highly technical or specialized content, and should 69 be used sparingly. (e.g. VPN clients, SELinux, custom instrumentation runners) --> 70 <level>INTERMEDIATE</level> 71 <!-- Dimensions: 512x512, PNG fomrat --> 72 <icon>screenshots/icon-web.png</icon> 73 <!-- Path to screenshots. Use <img> tags for each. --> 74 <screenshots> 75 <img>screenshots/main_screen.png</img> 76 <img>screenshots/progress_screen.png</img> 77 <img>screenshots/controls_screen.png</img> 78 </screenshots> 79 <!-- List of APIs that this sample should be cross-referenced under. Use <android> 80 for fully-qualified Framework class names ("android:" namespace). 81 82 Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation 83 for more details. --> 84 <api_refs> 85 <android>android.support.wear.widget.WearableRecyclerView</android> 86 <android>android.preference.Preference</android> 87 <android>android.support.v4.app.NotificationCompat</android> 88 </api_refs> 89 90 <!-- 1-3 line description of the sample here. 91 92 Avoid simply rearranging the sample's title. What does this sample actually 93 accomplish, and how does it do it? --> 94 <description> 95 Sample demonstrates how to include accessibility support for your wearable app. 96 </description> 97 98 <!-- Multi-paragraph introduction to sample, from an educational point-of-view. 99 Makrdown formatting allowed. This will be used to generate a mini-article for the 100 sample on DAC. --> 101 <intro> 102 Accessibility is an important part of any app (especially wearable apps). By 103 integrating accessible components and services, you can improve your app's usability, 104 particularly for users with disabilities. 105 106 This sample demonstrates common UX patterns in wearable apps along with accessibility 107 support of those patterns. Be sure to review the [Accessibility Developer Checklist][1] 108 for your own app. For additional information please see our 109 [Best Practices for User Interface][2] page. 110 111 [1]: https://developer.android.com/guide/topics/ui/accessibility/checklist.html 112 [2]: https://developer.android.com/training/accessibility/index.html 113 </intro> 114 </metadata> 115</sample> 116