0

我正在开发我的应用程序的 GUI,并且我使用了 Actionbar sherlock 以及选项卡和片段。有白线(选项卡和图像之间的间隙)我正在尝试删除它,但我不能。它只显示在较低的屏幕尺寸尺寸(小于 4 英寸)上。它没有显示在 Galaxy Nexus 上。 在此处输入图像描述 这是我的片段 XML 文件

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
    android:id="@+id/imageView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:src="@drawable/promo" />
<Button
    android:id="@+id/button2"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_alignParentLeft="true" />
<ListView
    android:id="@+id/lv1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_above="@+id/button2"
    android:layout_alignParentRight="true"
    android:layout_below="@+id/imageView1" >
</ListView>
<ImageView
    android:id="@+id/imageView2"
    android:layout_width="100dip"
    android:layout_height="50dip"
    android:layout_above="@+id/lv1"
    android:layout_alignParentLeft="true"
    android:layout_alignParentRight="true"
    android:src="@drawable/mid_bar" />
<ImageView
    android:id="@+id/imageView3"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentRight="true"
    android:layout_alignTop="@+id/imageView2"
    android:layout_marginRight="35dp"
    android:layout_marginTop="14dp"
    android:src="@drawable/play_button" />
<TextView
    android:id="@+id/tv1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignTop="@+id/imageView2"
    android:textColor="@android:color/black"
    android:textSize="14dp"
    android:textStyle="bold" 
    android:paddingLeft="10dip"/>

4

0 回答 0