I tried to simulate a menu using a CustomListView.
I set the divider thickness to 2 (dip?) On the 10 inch tablet the divider looks perfect, but on the phones it is much thicker (see the attached pictures)
What can be done to keep the distance constant? It is not a problem of functionality as much as a design ... Used code:
I set the divider thickness to 2 (dip?) On the 10 inch tablet the divider looks perfect, but on the phones it is much thicker (see the attached pictures)
What can be done to keep the distance constant? It is not a problem of functionality as much as a design ... Used code:
B4X:
Sub CreateMenu(img As String, txt As String, logout As Int) As Panel
Dim p As Panel
p.Initialize("")
p.Tag = logout
p.SetLayout(0, 0, 300dip, 52dip)
p.LoadLayout("itemMenu")
LabelImg.Text = img
LabelMeniu.Text = txt
Return p
End Sub