Reputation: 28345
Is there a way to show a TextView
in front of a VideoView
?
Upvotes: 5
Views: 4498
Reputation: 1006614
You can stack widgets on the Z-axis using RelativeLayout
. Have your VideoView
be the first child of the RelativeLayout
. Have your TextView
be the second child. Have their android:layout_
rules set up such that they overlap in the X/Y coordinate plane. The TextView
will appear to float over the VideoView
.
Upvotes: 5