Doesn't anyone got input on this issue? Isn't it possible to solve the problem?
On 6 Dec, 19:50, Kaj Bjurman <kaj.bjur...@gmail.com> wrote: > I tried to create a folder named xml-small and placed the widget > provider xml-files there. > > It looks like I need to use something like 50x50 dip for one cell on > the DSTL1, so 100x50 dip is 2x1, and 200x50 dip is 4x1 but that does > only work on the DSTL1. The HTC Tattoo which also is considered "xml- > small" displays a 3x1 widget if I use 200x50 dip :( > > 240x50 dip works as 4x1 on HTC Tattoo > > On 6 Dec, 19:09, Kaj Bjurman <kaj.bjur...@gmail.com> wrote: > > > Hi, > > > I got some problems when specifying the size of my AppWidget / Home > > screen widget. The widget is currently available in the sizes 1x1, 2x1 > > and 4x1 if we count in "cells". > > > Everything works in E.g. HTC Tattoo (240 x 320), HTC Magic (320x480) > > and Motorola Droid (480 x 854), but I do have problems on the DSTL1 > > (240x400). > > > I have specified the sizes according to the description > > here:http://android-developers.blogspot.com/2009/04/introducing-home-scree... > > > Below is what I got in my xml-files. > > > The problem on the DSTL1 is that it says that the 4x1 widget is too > > large to be placed on the home screen. The 2x1 widget looks like it is > > 3x2, and the 1x1 widget looks like 2x2. > > > What should I do? What's wrong? > > > <!-- small, 1x1 --> > > > <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/ > > android" > > android:minWidth="72dip" > > android:minHeight="72dip" > > android:updatePeriodMillis="0" > > android:initialLayout="@layout/widget_configure"/> > > > <!-- medium, 2x1 --> > > > <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/ > > android" > > android:minWidth="146dip" > > android:minHeight="72dip" > > android:updatePeriodMillis="0" > > android:initialLayout="@layout/widget_configure"/> > > > <!-- large, 4x1 --> > > > <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/ > > android" > > android:minWidth="294dp" > > android:minHeight="72dp" > > android:updatePeriodMillis="0" > > android:initialLayout="@layout/widget_configure"/> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en