ListView Z Values?

DouglasNYoung

Active Member
Licensed User
Longtime User
Hi everybody,
I'm trying to create a dynamic menu system, using a ListView, where the most often used menu items make their way to the top and least used items may be off the bottom of the screen and require scrolling to get to. All of this works just fine, except that when I try to simulate buttons by using: - AddTwoLinesAndBitmap;
-- Setting the bitmap (image of blank Button) with screen width & appropriate height;
-- Setting the appropriate button text, with Label and SecondLabel
and finally adjusting the Z values by
B4X:
   lvmm.TwoLinesAndBitmap.ImageView.SendToBack
   lvmm.TwoLinesAndBitmap.Label.BringToFront

By my logic any one of the two Z value instructions sjhould do the job, but the image is always on top and obliterates the text!

Perhaps (Probably) I'm missing the blindingly obvious, but I can't see it!

Any Ideas, please. . .

Douglas
 

DouglasNYoung

Active Member
Licensed User
Longtime User
That's not it!
Currently, if I make the image partial width the text is half hidden and half visible, so the visibility is correct, just the Z values don't seem to change!
 
Upvote 0
Top