android - Widget 4x2 - appwidget-provider minWidth and minHeight for all resolution -
i'm working on 4x2 widget size, , wonder appwidget-provider declaration, want widget works hdpi - ldpi - mdpi screen :
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:minwidth="294dp" android:minheight="144dp" android:initiallayout="@layout/widget_message" android:configure="fr.cdcorp.homewidget.configurationactivity.wdwidgetconfiguration" android:updateperiodmillis="43200000" /> - are these settings (
android:minwidth="294dp"andandroid:minheight="144dp") ldpi , mdpi? - do need detect screen size , set programaticaly different minwidth , minheight medium , lowscreen size?
- the layout use background image
294px x 144px -16bit, need have lower resolution indrawable-hdpi,drawable-mdpi,drawable-ldpi? - furthermore, need change programmaticaly image background, need test screen size , put correct image it?
thanks answers ! christophe.
Comments
Post a Comment