S Sergey_New Well-Known Member Licensed User Longtime User Apr 18, 2020 #1 Hello! Tell me why the sizes on the device and the emulator do not match at the same density of 320-XHDPI? For example, for HTC ONE X 4.7 ″ 720x1280, on the device the Activity height is 1134, and on the emulator 1038.
Hello! Tell me why the sizes on the device and the emulator do not match at the same density of 320-XHDPI? For example, for HTC ONE X 4.7 ″ 720x1280, on the device the Activity height is 1134, and on the emulator 1038.
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2020 #2 The exact size is meaningless. Use anchors and designer script to build a layout that handles all screen sizes. Upvote 0
The exact size is meaningless. Use anchors and designer script to build a layout that handles all screen sizes.
S Sergey_New Well-Known Member Licensed User Longtime User Apr 19, 2020 #3 Thanks, but unfortunately, I need the exact dimensions on the panel in TabHost ... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2020 #4 The exact height is never needed. You should learn how to use anchors. Upvote 0
S Sergey_New Well-Known Member Licensed User Longtime User Apr 20, 2020 #5 Still, why are there different sizes? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 21, 2020 #6 Because of the various bars: system bar, action bar and soft keys bar. Upvote 0