B4X FEED Activity height not set to correct value if app started with screen off

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: Activity height not set to correct value if app started with screen off است. این موضوع تا کنون 25 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Activity height not set to correct value if app started with screen off
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
25
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
2
I think the following issue is related to the one reported here . However, I am seeing the problem when an app is started with the device's screen off. I discovered the issue because my app runs in the background and can restart itself (hence the screen is usually off when the app starts). To replicate the scenario, run the attached project, connect your device to the B4A IDE, turn off the device's screen and start the app via the IDE.
The MainPage layout is created in the Designer and consists of a single panel, with a red border, that is resized by the Designer to fill the activity. Starting the app with the screen on, the border is displayed as expected. Starting the app with the screen off, the bottom border is lost. As per the above linked thread, the Activity height doesn't seem to be set correctly with the screen off. The problem can be partially addressed by using the...



 

عقب
بالا