TKS, Klaus
I HAVE READ ALL FORUMS BUT ARE NOT VERY CLEAR .... WHY B4A NOT MAKE THIS automatically...
MY CODE IS IN %, I DID WITH A SMALL FORMULA THAT GIVES ME THE POSITION IN WHICH INITIALLY LOCATE THE VIEWS (TOP, LEFT, ....)
WHEN SENDING THE ALTERNATIVE 320x480, scale = 1 TO (SENT UI CLOUD) DOES MORE OR LESS AS I DESIGN, THE PROBLEM IS THAT WHEN USING REAL DEVICES LIKE (Samsung I9205 Galaxy Mega OR TABLET 10 "Samsung) THE TEXT IN THE BAR IS VERY BIG ... AND Layout IS VERY DOWN
escalatexto=0.5 I WAS TRYING TO BE ABLE TO SEE IN DIFFERENT DEVICES
escalavert=1 THIS IS NOT USED , 1
escalahor=1 THIS IS NOT USED , 1
separacionvert=1 THIS IS NOT USED , 1
separacionhor=1 THIS IS NOT USED , 1
espaciovert=0 THIS IS NOT USED , 0
espaciohor=0 THIS IS NOT USED , 0
'''''''''''''''''''''''''''''''''''''''''''''
deltatexto=100%x/320dip I WAS TRYING TO BE ABLE TO SEE IN DIFFERENT DEVICES
'''''''''''''''''''''''''''''''''''''''''''''
delta = ((100%x + 100%y) / (320dip +480dip) - 1)
rate=0.3
escala=1 '+delta*rate THIS IS NOT USED,1
'''''''''''''''''''''''''''''''''''''''''''''
AutoScaleRate(0.3)
AutoScaleAll
'''''''''''''''''''''''''''''''''''''''''''''
'Activity.left=0dip I THOUGHT THIS COULD BE .......
'Activity.Top=0dip I THOUGHT THIS COULD BE.........
Button13.left=28.6666666666667%x*escala*escalahor*separacionhor+espaciohor
Button13.top=76.4130434782609%y*escala*escalavert*separacionvert+espaciovert
Button13.width=16%x*escala*escalahor
Button13.height=4.34782608695652%y*escala*escalavert
Button13.TextSize=12*deltatexto*escalatexto
Panel6.left=1%x*escala*escalahor*separacionhor+espaciohor
Panel6.top=2.28260869565217%y*escala*escalavert*separacionvert+espaciovert
Panel6.width=48.3333333333333%x*escala*escalahor
Panel6.height=28.695652173913%y*escala*escalavert
LIKE FOR THE REST OF VIEWS
...................................................
THIS IS THE BAR
Activity.LoadLayout("COORDENADAS")
bar.Initialize("bar")
bar.NavigationMode = bar.NAVIGATION_MODE_TABS
bar.Subtitle = "TRANSFORMACION LAMBERT-CRTM05"
Activity.Title = "CRTM05"
Activity.AddMenuItem3( "MAPA" , "MAPA" , Null,True )
Activity.AddMenuItem3( "GUARDAR" , "GUARDAR" , Null,True )
Activity.AddMenuItem3( "BORRAR" , "BORRAR" , Null,True )
Activity.AddMenuItem3( "ACERCA" , "ACERCA" , Null,True )
TKS