Sub ResiTTS
Dim Y,x,te As Float
Dim i,te1 As Int
Dim lb As Label
y=(100%y/800)
x=(100%x/1280)
If x<y Then y=x Else x=y
te=Acc.GetUserFontScale
te1=(14)*y*(1/te) ' dimensione 14 del testo
For Each v As View In Activity.GetAllViewsRecursive
If v Is Label Then
lb = v
lb.TextSize=te1
End If
Next
End Sub