[BUG?]Wrong value of activity.height

wy328

Member
Licensed User
Longtime User
In IDE version 2.0+. The value of activity.height is always been set to the full sreen height.
For my device, the screen is 800*480, activity.height = 100%y = 800.
I have to calc -25dip for the notification bar, but some times the activity.height get right value then my app crashed on creating the activity... :sign0163:
 
Top