Is it possible to set the preview image for an Android Wear watch face dynamically? -
typically, preview of watch face set through wear module's manifest; e.g.:
<service android:name=".analogwatchfaceservice" android:label="@string/analog_name" android:allowembedded="true" android:taskaffinity="" android:permission="android.permission.bind_wallpaper" > <meta-data android:name="android.service.wallpaper" android:resource="@xml/watch_face" /> <meta-data android:name="com.google.android.wearable.watchface.preview" android:resource="@drawable/preview_analog" /> <meta-data android:name="com.google.android.wearable.watchface.preview_circular" android:resource="@drawable/preview_analog_circular" /> <intent-filter> <action android:name="android.service.wallpaper.wallpaperservice" /> <category android:name= "com.google.android.wearable.watchface.category.watch_face" /> </intent-filter> </service>
my watch face has selection of backgrounds, , think neat show last selected background in preview. can com.google.android.wearable.watchface.preview
, circular counterpart set programmatically?
no, unfortunately not provide option @ moment. file bug improving this.
Comments
Post a Comment