From e2589c8535412917eb44ebd703309cc5d88e3dc0 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 30 Jul 2012 10:05:20 +0200 Subject: [PATCH] Fix black issue when scrolling a listview on some devices --- res/layout/chatlist.xml | 1 + res/layout/contacts_list.xml | 1 + res/layout/history.xml | 1 + res/values/color.xml | 1 + 4 files changed, 4 insertions(+) diff --git a/res/layout/chatlist.xml b/res/layout/chatlist.xml index cd48231e3..103f35762 100644 --- a/res/layout/chatlist.xml +++ b/res/layout/chatlist.xml @@ -48,6 +48,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:divider="@android:color/darker_gray" + android:cacheColorHint="@color/transparent" android:dividerHeight="1dp" /> \ No newline at end of file diff --git a/res/layout/contacts_list.xml b/res/layout/contacts_list.xml index 0c2294298..1495c7b85 100644 --- a/res/layout/contacts_list.xml +++ b/res/layout/contacts_list.xml @@ -51,6 +51,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:divider="@android:color/darker_gray" + android:cacheColorHint="@color/transparent" android:fastScrollAlwaysVisible="true" android:fastScrollEnabled="true" android:dividerHeight="1dp" /> diff --git a/res/layout/history.xml b/res/layout/history.xml index f6998782f..e0e1f55dc 100644 --- a/res/layout/history.xml +++ b/res/layout/history.xml @@ -58,6 +58,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:divider="@android:color/darker_gray" + android:cacheColorHint="@color/transparent" android:dividerHeight="1dp" /> \ No newline at end of file diff --git a/res/values/color.xml b/res/values/color.xml index d89cec8e4..7dd30f03e 100644 --- a/res/values/color.xml +++ b/res/values/color.xml @@ -4,4 +4,5 @@ #ffd8d8d8 #ffb1bdc3 #ffcf4c29 + #00000000 \ No newline at end of file