Wesley
Wesley

Reputation: 1808

Z indexing image view over another Image view (Android)

I was worried if an Image view over another image view can be z-indexed? and brought to front or back. Is there any options for this?

Thanks in advance.

Upvotes: 0

Views: 1053

Answers (2)

thaussma
thaussma

Reputation: 9876

You can use one ImageView for that. If you want to switch between images in an ImageView you can use a LevelListDrawable. If you want all images to be drawn in a certain z-order you can use a LayerDrawable.

Upvotes: 1

Sandeep
Sandeep

Reputation: 853

you can use frame layout to achieve that. Have a look a look at this link

Upvotes: 1

Related Questions