WearViewStub allow your Android Wear application to use different layouts if running on square, round or moto360 device.

WearViewStub is an alternative implementation of Android Wear WatchViewStub. Instead of Google WatchViewStub, this implementation allways works, even in Fragments of GridViewPager.


Install/import with Gradle

Instructions for Gradle

In your root build.gradle add

allprojects {
    repositories {
        maven {
            url  "http://dl.bintray.com/florent37/maven"

In your wear module

compile 'com.github.florent37:wearviewstub:1.0.0@aar'
Facebook Twitter Google Reddit LinkedIn
  • Price : Free
  • License : Apache License, Version 2.0
  • Visit Link

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *