Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -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 | |
| 18 | <sample> |
| 19 | <name>WearDrawers</name> |
| 20 | <group>Wearable</group> |
| 21 | <package>com.example.android.wearable.wear.weardrawers</package> |
| 22 | |
Jeremy Walker | 9f8a8aa | 2017-07-28 16:04:02 -0700 | [diff] [blame] | 23 | <minSdkVersionWear>23</minSdkVersionWear> |
Jeremy Walker | ffa200c | 2019-03-31 17:26:51 -0700 | [diff] [blame] | 24 | <targetSdkVersionWear>28</targetSdkVersionWear> |
Jeremy Walker | 9f8a8aa | 2017-07-28 16:04:02 -0700 | [diff] [blame] | 25 | |
| 26 | <multiDexEnabled>true</multiDexEnabled> |
| 27 | |
Jeremy Walker | ffa200c | 2019-03-31 17:26:51 -0700 | [diff] [blame] | 28 | <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 Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 33 | |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 34 | <strings> |
| 35 | <intro> |
| 36 | <![CDATA[ |
Jeremy Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 37 | A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear. |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 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} --> |
Jeremy Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 47 | <status>PUBLISHED</status> |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 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 | <level>INTERMEDIATE</level> |
| 58 | <!-- TODO: Dimensions: 512x512, PNG fomrat --> |
| 59 | <icon>screenshots/icon-web.png</icon> |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 60 | <screenshots> |
Jeremy Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 61 | <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 Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 65 | </screenshots> |
| 66 | <api_refs> |
| 67 | <android>android.support.wearable.activity.WearableActivity</android> |
Jeremy Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 68 | <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 Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 71 | </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 Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 78 | A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear. |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 79 | </description> |
| 80 | |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 81 | <intro> |
Jeremy Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 82 | Steps for trying out this sample: |
Jeremy Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 83 | |
Jeremy Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 84 | * 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 Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 88 | |
Jeremy Walker | 6a59893 | 2018-03-12 15:39:37 -0700 | [diff] [blame] | 89 | 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 Walker | 13d3422 | 2016-05-17 08:59:07 -0700 | [diff] [blame] | 91 | * 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 Walker | e6537b1 | 2016-05-12 19:02:03 -0700 | [diff] [blame] | 99 | </intro> |
| 100 | </metadata> |
| 101 | </sample> |