Home | History | Annotate | Download | only in WearDrawers
      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 
     23     <minSdkVersionWear>23</minSdkVersionWear>
     24     <targetSdkVersionWear>28</targetSdkVersionWear>
     25 
     26     <multiDexEnabled>true</multiDexEnabled>
     27 
     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>
     33 
     34     <strings>
     35         <intro>
     36             <![CDATA[
     37 A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear.
     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         <level>INTERMEDIATE</level>
     58         <!-- TODO: Dimensions: 512x512, PNG fomrat -->
     59         <icon>screenshots/icon-web.png</icon>
     60         <screenshots>
     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>
     65         </screenshots>
     66         <api_refs>
     67             <android>android.support.wearable.activity.WearableActivity</android>
     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>
     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>
     78             A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear.
     79         </description>
     80 
     81         <intro>
     82             Steps for trying out this sample:
     83 
     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).
     88 
     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]:
     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
     99         </intro>
    100     </metadata>
    101 </sample>
    102