Android Question CustomelistView Height And Width

After Add CustomelistView in Designe...
I want change Width And Height but not work this:
Code: Copy
CustomelistView.AsView.Height
CustomelistView.AsView.Width

But this worked:
Code: Copy
CustomelistView.AsView.Top
CustomelistView.AsView.Left
 
After Add CustomelistView in Designe...
I want change Width And Height but not work this:
Code: Copy
CustomelistView.AsView.Height
CustomelistView.AsView.Width

But this worked:
Code: Copy
CustomelistView.AsView.Top
CustomelistView.AsView.Left
They work, if backgroud color of CLV is set, you will see the change.
 
Upvote 0
CustomelistView.AsView.Height CustomelistView.AsView.Width
You need a "Base_Resize" :
B4X: Copy
xclv.AsView.Width = 200dip
xclv.AsView.Height = 200dip
xclv.Base_Resize(xclv.AsView.Width,xclv.AsView.Height) 'Add this
 
Upvote 1
Solution
Back
Top