어떤 이유로 든 내 목록을 스크롤 할 때마다 내 목록보기의 배경이 사라지고 다시 나타나서 실제로 원하지 않는 "깜박임"효과가 발생합니다. 제안을 시도한 : How to make a ListView transparent in Android?하지만 어떤 이유로 작동하지 않습니다. 어떤 제안?Android : ListView 깜박임 효과. 이것을 없애는 방법에 대한 힌트가 있습니까?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/screenLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:background="@color/title_background"
android:text="@string/whatsnew_title"
>
</TextView>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
</ListView>
</LinearLayout>
굉장합니다 ... 저를 믿지 않을 것입니다. .. 나는 cacheColorHint를 붙이려고했지만 발견 한 모든 리소스는 android : cacheColorHint = "# 000000"(0은 분명히 알파에 대해 아무 것도 말하지 않고 있음)에 주목했습니다 ... 그리고 지금은 정확하게 원했던 것처럼 작동합니다 ... 감사합니다. 제비! – Legend
위대한 대답 남자. –
위대하고 간단한 응답과 소수! 감사합니다. –