Android Question B4XPreferenceDialog - text direction and size

How can i change the horizontal centre of the text in the text field?
When i write in hebrew from left to right the X and V buttons are over the text.
Or maybe it s possible to change the direction of all the views.?
 

Attachments

  • Screenshot_2020-04-01-12-12-14-068_easyplanner.danoptic.jpg
    Screenshot_2020-04-01-12-12-14-068_easyplanner.danoptic.jpg
    192.9 KB · Views: 196

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4X:
Dim sf As Object = p.ShowDialog(d, "OK", "CANCEL")
For i = 0 To p.PrefItems.Size - 1
    Dim pi As B4XPrefItem = p.PrefItems.Get(i)
    p.CustomListView1.AnimationDuration = 0
    If pi.ItemType = p.TYPE_TEXT Then
        Dim pnl As B4XView = p.CustomListView1.GetPanel(i)
        Dim ft As B4XFloatTextField = pnl.GetView(0).Tag
        ft.TextField.SetTextAlignment("CENTER", "CENTER")
        ft.lblClear.Left = -100dip
        ft.lblV.Left = -100dip
    End If
Next
Wait For (sf) Complete (Result As Int)
 
Upvote 0
Top