4x2 widget - appwidget-provider minWidth and minHeight for all permissions

I am working on a 4x2 widget size, and I am interested to know about my appwidget-provider ad, I want this widget to work on the 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"and android:minHeight="144dp") good for ldpi and mdpi?
  • Do I need to determine the screen size and customize the program using a different minWidth and minHeight for medium and horizontal size?
  • layout , which I use for background 294px x 144px -16bit , I need to have a lower resolution drawable-hdpi, drawable-mdpi, drawable-ldpi?
  • Also, I need to change the program background of the image, so I need to check the screen size and put the correct image for it?

Thanks for answers! Christoph.

+3

All Articles