问题描述:

How can I have two images stay on top of each other.

In other words, the position of image 1 is exactly the same as the position of the second image; one image is covering the other completely?

网友答案:

Use a FrameLayout and then put your two ImageViews inside it. Children of a FrameLayout stack on top of each vertically.

网友答案:

I think RelativeLayout is what you are looking for.

网友答案:

You should take a look at FrameLayout. Adroid have an example of using FrameLayout. Read up on this good example, and you'll have a better idea of how to tackle your problem.

相关阅读:
Top