views:

52

answers:

1

Hi,

Can we place a small view over another large view? For example, i have a VideoView which is playing a file in the background. Over this, somewhere in the middle/corner, I want to place another ImageView.

But in Linear/Relative Layout, views can be placed only one after another or relativ to each other. And Absolutelayout is advised against. So what do I do?

_ Kiki

+2  A: 

FrameLayouts let you pile each view on top of the one below. This can also be achieved with a RelativeLayout.

skorulis
Could you please give me an example of either case? I am not able to think it out.
kiki
@kiki - Google "android FrameLayout" and you'll find plenty of examples.
McStretch