- Dec 12, 2022
- 357
- 2
I think the following issue is related to the one reported here
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...
برای دیدن لینک ها باید ثبت نام کنید
. 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...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید