Android Question screen devices different sizes

ocalle

Active Member
Licensed User
Longtime User
Hello, im testing my app on differents devices, in samsung J7 prime with 'Variant specific script: 320x480,scale=1 works fine, but with another i dont know how can i fix it
For example Samsung Galaxy J1 cant discover which is the screen size to adapt a new variant.
Exist some screen table with those sizes?

Thanks you , regards
 

mcqueccu

Well-Known Member
Licensed User
Longtime User
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
the designer show the exact size at the left bottom if you connect the what you see is what you get designer. (you also need to check this variant design & anchors)
Snap_2018.05.14_10h54m52s_001_.png
 
Upvote 0

ocalle

Active Member
Licensed User
Longtime User
Thanks for all info, that table was see sometime, very useful, i thinking in do a routine that check which phone is running and choose the right variant.
 
Upvote 0

ocalle

Active Member
Licensed User
Longtime User
Oh! this is a wonderful programming environment Thanks!
 
Upvote 0

ocalle

Active Member
Licensed User
Longtime User
I fixed the warning with

B4X:
Dim lv As LayoutValues
    lv = GetDeviceLayoutValues
    Log(lv) 'will print the values to the log
    
    Activity.Title=lv.toString
 
Upvote 0
Top