christian Muller
christian Muller

Reputation: 5056

android:previewImage does not always work

i use

 <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="40dp"
android:minHeight="40dp"
android:previewImage="@drawable/wgprevmini"
android:updatePeriodMillis="21600000"
android:initialLayout="@layout/widget_speriod"
android:widgetCategory="home_screen"
android:configure="com.chris.mydays.setwidgetuser"
/>

the preview image shows on SOME Device, but not on all.

For example
- Samsung Galaxy S5 (Android 5.0) it shows the preview just fine

Is there any solution i can make sure it shows the Preview Image always (do i need a special image format .. not its simple .png)

thx chris

Upvotes: 0

Views: 373

Answers (1)

Orcun Sevsay
Orcun Sevsay

Reputation: 1473

I don't know why but when the Preview Image does not show up, restarting device always solve my problem. You may want to try it

Upvotes: 1

Related Questions