starting from the dimensions specified in this thread
I've created a 4x2 widget, with a base panel of 294x144
The launcher (on a Samsung phone) correctly identifies it as 4x2 tiles widget, but once rendered on screen it, doesn't fill up all the available space, it's more like a 3.7x1.5 tiles
I understand that the layout scripts doesn't work for widget and I have no means of getting actual dimensions and resize elements accordingly
Is there a correct way for sizing widgets?
Android home screen widgets tutorial - part II
Please start with the first part of this tutorial if you haven't read it before. In this part we will build a "quote of the day" widget. We will start with the layout. The widget is made of a Label for the text and an ImageView for the arrow button. The layout in the designer: You can see...
www.b4x.com
The launcher (on a Samsung phone) correctly identifies it as 4x2 tiles widget, but once rendered on screen it, doesn't fill up all the available space, it's more like a 3.7x1.5 tiles
I understand that the layout scripts doesn't work for widget and I have no means of getting actual dimensions and resize elements accordingly
Is there a correct way for sizing widgets?