展開子行時,Expandablelistview的背景變得更白。我該如何解決它?當我展開子行時,Expandablelistview的背景變得更白
我設置:
android:cacheColorHint="@null"
android:scrollingCache="false"
我也試過:
android:cacheColorHint="@android:color/transparent"
android:scrollingCache="false"
但它並沒有解決問題。擴大孩子之前
截圖:
http://i.imgur.com/fbaKPus.png http://i.imgur.com/pHejwDn.png
後:
http://i.imgur.com/hftsxhA.png
編輯:
應用程序使用福爾摩斯主題: ...
Expandablelistview XML文件:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ExpandableListView
android:id="@+id/expandableListView"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
android:cacheColorHint="@android:color/transparent"
android:childDivider="@color/expandablelist_divider"
android:divider="@color/expandablelist_divider"
android:dividerHeight="1dp"
android:groupIndicator="@drawable/expandablelistindicator" >
</ExpandableListView>
</LinearLayout>
未找到第一張截圖 – 2013-02-14 10:45:49
我添加了另一個URL。 – Ziem 2013-02-14 10:48:09
你試過用android:cacheColorHint =「@ android:color/transparent」嗎?沒有android:scrollingCache =「false」 – 2013-02-14 10:51:52