Show a TextView in front of a VideoView?
Is there a way to show a TextView
in front of a VideoView
?
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
.
If a Custom Toast is not enough you can try with a Dialog.
精彩评论