我正在渲染由圖像組成的ListView
。我希望擺脫飛機的灰色。我該如何擺脫?看起來很奇怪,而且很容易,但我無法找出解決方案。刪除圖像ListView中的不安全空間
list_View.xml
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#efefef"
android:orientation="vertical" >
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:cacheColorHint="#00000000"
android:divider="@android:color/black"
android:dividerHeight="1.0sp"
android:textColor="#000000" />
</RelativeLayout>
image.xml
嗨,可以粘貼一些代碼?我只看圖片就可以對這個原因進行10次猜測。 – g00dy
@ g00dy請檢查編輯 – onkar
也許將'LinearLayout'的背景設置爲'color/transparent'?這是一個可視化的圖像,我的意思是我看到「殭屍」和「病毒」,但是這兩個圖像還是一個整體? – g00dy