Home | History | Annotate | only in /developers/build/prebuilts/gradle/WatchViewStub
Up to higher level directory
NameDateSize
.google/10-Mar-2015
Application/10-Mar-2015
build.gradle10-Mar-201514
CONTRIB.md10-Mar-20151.6K
CONTRIBUTING.md10-Mar-20151.5K
gradle/10-Mar-2015
gradlew10-Mar-20155K
gradlew.bat10-Mar-20152.3K
LICENSE10-Mar-201511.1K
NOTICE10-Mar-2015613
README.md10-Mar-20152.2K
screenshots/10-Mar-2015
settings.gradle10-Mar-201536
Wearable/10-Mar-2015

README.md

      1 Android WatchViewStub Sample
      2 ===================================
      3 
      4 This sample demonstrates how to specify different layouts for round and rectangular screens.
      5 
      6 Introduction
      7 ------------
      8 
      9 It is a basic sample that displays a round layout on a round watch and a rectangular one on a
     10 rectangular watch.
     11 
     12 The corresponding layout is being inflated by the system. This sample shows a way to handle
     13 this programatically by using a `WatchViewStub.OnLayoutInflateListener`.
     14 
     15 Pre-requisites
     16 --------------
     17 
     18 - Android SDK v21
     19 - Android Build Tools v21.1.1
     20 - Android Support Repository
     21 
     22 Screenshots
     23 -------------
     24 
     25 <img src="screenshots/watch_view_stub_rectangular.png" height="400" alt="Screenshot"/> <img src="screenshots/watch_view_stub_round.png" height="400" alt="Screenshot"/> 
     26 
     27 Getting Started
     28 ---------------
     29 
     30 This sample uses the Gradle build system. To build this project, use the
     31 "gradlew build" command or use "Import Project" in Android Studio.
     32 
     33 Support
     34 -------
     35 
     36 - Google+ Community: https://plus.google.com/communities/105153134372062985968
     37 - Stack Overflow: http://stackoverflow.com/questions/tagged/android
     38 
     39 If you've found an error in this sample, please file an issue:
     40 https://github.com/googlesamples/android-WatchViewStub
     41 
     42 Patches are encouraged, and may be submitted by forking this project and
     43 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
     44 
     45 License
     46 -------
     47 
     48 Copyright 2014 The Android Open Source Project, Inc.
     49 
     50 Licensed to the Apache Software Foundation (ASF) under one or more contributor
     51 license agreements.  See the NOTICE file distributed with this work for
     52 additional information regarding copyright ownership.  The ASF licenses this
     53 file to you under the Apache License, Version 2.0 (the "License"); you may not
     54 use this file except in compliance with the License.  You may obtain a copy of
     55 the License at
     56 
     57 http://www.apache.org/licenses/LICENSE-2.0
     58 
     59 Unless required by applicable law or agreed to in writing, software
     60 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
     61 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
     62 License for the specific language governing permissions and limitations under
     63 the License.
     64