mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Fixed the below issue for GalaxyS and S2.
When scrolling a ListView, all items turn black. it was reproduced on FolderList, MessageList and Accounts, other views were not.
This commit is contained in:
parent
0543183b11
commit
fda43206a3
@ -262,6 +262,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
||||
listView.setOnItemClickListener(this);
|
||||
listView.setItemsCanFocus(false);
|
||||
listView.setEmptyView(findViewById(R.id.empty));
|
||||
listView.setScrollingCacheEnabled(false);
|
||||
findViewById(R.id.next).setOnClickListener(this);
|
||||
registerForContextMenu(listView);
|
||||
|
||||
|
@ -243,7 +243,7 @@ public class FolderList extends K9ListActivity {
|
||||
mListView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_INSET);
|
||||
mListView.setLongClickable(true);
|
||||
mListView.setFastScrollEnabled(true);
|
||||
mListView.setScrollingCacheEnabled(true);
|
||||
mListView.setScrollingCacheEnabled(false);
|
||||
mListView.setOnItemClickListener(new OnItemClickListener() {
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
onOpenFolder(((FolderInfoHolder)mAdapter.getItem(position)).name);
|
||||
|
@ -800,7 +800,7 @@ public class MessageList
|
||||
mListView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_INSET);
|
||||
mListView.setLongClickable(true);
|
||||
mListView.setFastScrollEnabled(true);
|
||||
mListView.setScrollingCacheEnabled(true);
|
||||
mListView.setScrollingCacheEnabled(false);
|
||||
mListView.setOnItemClickListener(this);
|
||||
mListView.addFooterView(getFooterView(mListView));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user