Answer the question
In order to leave comments, you need to log in
How to correctly set the size of the widget?
I need to make a 4x1 cell widget. For this I use a simple code:
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="250dp"
android:minHeight="40dip"
android:updatePeriodMillis="0"
android:initialLayout="@layout/widget"
android:configure="ru.bartwell.myapp.WidgetActivity" />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question