如何从Tabhost中删除标题?

时间:2017-01-18 09:57:27

标签: android youtube

我正在与您合作管视频播放列表。在我的某个标签中,我想从服务器和其他标签中获取图片,从YouTube播放列表中获取视频。两者都有效,但我在标签2中有一些问题,因为它出现了一个标题。

我不知道如何删除该标题。

我的模拟器的屏幕截图是:

enter image description here

cm_yt_list_items.xml:

<android.support.v7.widget.CardView
    android:id="@+id/card_view"
    android:layout_width="match_parent"
    android:layout_height="91dp"
    android:layout_gravity="center"
    android:layout_margin="5dp"
    android:elevation="3dp"
    card_view:cardCornerRadius="0dp">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <Image View
            android:layout_width="76dp"
            android:layout_height="match_parent"

            android:id="@+id/imageView"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true"
            android:layout_marginLeft="12dp"
            android:layout_marginStart="12dp"
            android:layout_alignParentTop="true"
            />

        <TextView
            android:text="TextView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/name"
            android:layout_alignParentTop="true"
            android:layout_toRightOf="@+id/imageView"
            android:layout_toEndOf="@+id/imageView"
            android:layout_marginLeft="50dp"
            android:layout_marginStart="50dp" />

    </RelativeLayout>`

</android.support.v7.widget.CardView>

0 个答案:

没有答案