- Jun 6, 2020
- 11,576
- 4,480
starting from the dimensions specified in this thread
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...
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?
برای دیدن لینک ها باید ثبت نام کنید
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...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
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?
برای دیدن لینک ها باید ثبت نام کنید