Android 文本视图背景在视频视图顶部时不显示

Android 文本视图背景在视频视图顶部时不显示,android,Android,我使用合并布局将文本视图显示在视频视图的顶部。这是我的密码: <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_pare

我使用合并布局将文本视图显示在视频视图的顶部。这是我的密码:

    <?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
 android:orientation="vertical"
 android:layout_width="fill_parent"
 android:layout_height="fill_parent"
 android:gravity="center_vertical|center_horizontal">

<VideoView
    android:id="@+id/vView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center_vertical|center_horizontal"
/>
<TextView
    android:id="@+id/txtNote"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="top"
    android:gravity="center"
    android:layout_marginTop="100px"        
    android:textSize="30sp"
    android:textStyle="bold"
    android:background="#A000"
    android:textColor="#ffff"
/>

</merge>

我已经在我的文本框中放置了一个android:background=A000属性,但它仍然不会出现。所有显示的是带有透明背景的白色文本。当我将VideoView更改为ImageView时,会出现TextView背景。我想知道为什么TextView背景会出现在ImageView的顶部,而不是VideoView的顶部。任何建议都会大有帮助。谢谢。

我不知道合并,但我认为线性布局应该可以…

使用不透明背景怎么样?结果如何?谢谢你的回复。即使我将背景设置为F000,它仍然会显示一个透明的TextView背景:我使用merge,以便TextView可以在VideoView的顶部前景上查看。我不知道如何在线性布局上做到这一点。