Android Question CustomListView

fishwolf

Well-Known Member
Licensed User
Longtime User
why with different resolution or adroid 9 the buttons are cut?

Immagine.png
 
Last edited:

ronell

Well-Known Member
Licensed User
Longtime User
i guess android OS has nothing to do with the layout being different...

try using %y to set the clv item height and panel


B4X:
Dim p As Panel
                p.Initialize("")
                p.SetLayout(0, 0, clv.AsView.Width,10%y)
                p.LoadLayout("clv_layout")

                clv.Add(p, 10%y, value)
 
Upvote 0
Top