blob: 88840983676529e9f486a3062c900258592a2b83 [file] [log] [blame]
Jeremy Walkere6537b12016-05-12 19:02:03 -07001<?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>WearDrawers</name>
20 <group>Wearable</group>
21 <package>com.example.android.wearable.wear.weardrawers</package>
22
Jeremy Walker9f8a8aa2017-07-28 16:04:02 -070023 <minSdkVersionWear>23</minSdkVersionWear>
Jeremy Walkerffa200c2019-03-31 17:26:51 -070024 <targetSdkVersionWear>28</targetSdkVersionWear>
Jeremy Walker9f8a8aa2017-07-28 16:04:02 -070025
26 <multiDexEnabled>true</multiDexEnabled>
27
Jeremy Walkerffa200c2019-03-31 17:26:51 -070028 <androidX>true</androidX>
29
30 <dependency_wearable>androidx.wear:wear:1.0.0</dependency_wearable>
31
32 <dependency_wearable>androidx.legacy:legacy-support-v13:1.0.0</dependency_wearable>
Jeremy Walkere6537b12016-05-12 19:02:03 -070033
Jeremy Walkere6537b12016-05-12 19:02:03 -070034 <strings>
35 <intro>
36 <![CDATA[
Jeremy Walker13d34222016-05-17 08:59:07 -070037A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear.
Jeremy Walkere6537b12016-05-12 19:02:03 -070038 ]]>
39 </intro>
40 </strings>
41
42 <template src="base-build" />
43 <template src="Wear" />
44
45 <metadata>
46 <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} -->
Jeremy Walker13d34222016-05-17 08:59:07 -070047 <status>PUBLISHED</status>
Jeremy Walkere6537b12016-05-12 19:02:03 -070048 <!-- 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 <level>INTERMEDIATE</level>
58 <!-- TODO: Dimensions: 512x512, PNG fomrat -->
59 <icon>screenshots/icon-web.png</icon>
Jeremy Walkere6537b12016-05-12 19:02:03 -070060 <screenshots>
Jeremy Walker13d34222016-05-17 08:59:07 -070061 <img>screenshots/wear-round-1.png</img>
62 <img>screenshots/wear-round-2.png</img>
63 <img>screenshots/wear-round-3.png</img>
64 <img>screenshots/wear-round-4.png</img>
Jeremy Walkere6537b12016-05-12 19:02:03 -070065 </screenshots>
66 <api_refs>
67 <android>android.support.wearable.activity.WearableActivity</android>
Jeremy Walker13d34222016-05-17 08:59:07 -070068 <android>android.support.wearable.view.drawer.WearableActionDrawer</android>
69 <android>android.support.wearable.view.drawer.WearableDrawerLayout</android>
70 <android>android.support.wearable.view.drawer.WearableNavigationDrawer</android>
Jeremy Walkere6537b12016-05-12 19:02:03 -070071 </api_refs>
72
73 <!-- 1-3 line description of the sample here.
74
75 Avoid simply rearranging the sample's title. What does this sample actually
76 accomplish, and how does it do it? -->
77 <description>
Jeremy Walker13d34222016-05-17 08:59:07 -070078 A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear.
Jeremy Walkere6537b12016-05-12 19:02:03 -070079 </description>
80
Jeremy Walkere6537b12016-05-12 19:02:03 -070081 <intro>
Jeremy Walker13d34222016-05-17 08:59:07 -070082 Steps for trying out this sample:
Jeremy Walkere6537b12016-05-12 19:02:03 -070083
Jeremy Walker13d34222016-05-17 08:59:07 -070084 * Compile and install the wearable app onto your Wear device or emulator.
85 (**Note:** You must install this app directly to your Wear device or emulator.
86 If installed on a phone, it will not be automatically pushed to a paired Wear
87 device, see [here][2] for more info).
Jeremy Walkere6537b12016-05-12 19:02:03 -070088
Jeremy Walker6a598932018-03-12 15:39:37 -070089 This sample uses the planets in our solar system to demonstrate the two Wear
90 drawer components and concepts relating to [Wear][1] and [Material Design][3]:
Jeremy Walker13d34222016-05-17 08:59:07 -070091 * Customizes and enables screen/planet changes with the [Navigation Drawer][4]
92 * Adds customized actions to each screen using the [Action Drawer][5]
93
94 [1]: http://developer.android.com/wear/
95 [2]: https://developer.android.com/training/wearables/apps/creating.html#Install
96 [3]: http://www.google.com/design/wear
97 [4]: http://www.google.com/design/spec-wear/components/navigation-drawer.html
98 [5]: http://www.google.com/design/spec-wear/components/action-drawer.html
Jeremy Walkere6537b12016-05-12 19:02:03 -070099 </intro>
100 </metadata>
101</sample>