B4X FEED Home screen widget sizing

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Home screen widget sizing است. این موضوع تا کنون 60 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Home screen widget sizing
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
60
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
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?

 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا