Is it possible to place one view over another in android?

Viewed 76694

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 relative to each other, and AbsoluteLayout is advised against. So what do I do?

6 Answers

Create Relative Layout and place views inside it and add

android:elevation="2dp" 

for the view whcich is to be over another one

Related