Android Question Design vs. Runtime Display Issue

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Dear colleagues and friends,

The problem occurs when my application runs in B4A. In design view, everything looks perfect, but during execution (Debug or Release), the design is cut off at the top of the screen.

All activities have the same configuration in the variant and script.
1766795147418.png


Design View (Perfect)

1766794927678.png


Runtime View (Cut off at the top)
1766794966417.png


I hope you can help me solve this problem.
 

aeric

Expert
Licensed User
Longtime User
Search for edge-to-edge
 
Upvote 0

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Search for edge-to-edge
@aeric Hey, you're right, when I switch to SDK 34 it works fine. I'm using the Holo.Light.DarkActionBar theme.

Is there any way to fix this, or what theme should I use so that the layout doesn't get cut off at the top when I run it?

Thanks for your help.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Just follow the instruction on first post by Erel.
 
Upvote 0
Top