From cca5865ecb829524d9a21f503d9b8a644cb988f0 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Sun, 21 Sep 2014 00:45:07 +0200 Subject: fixed #454 - added fast srcolling to some lists --- src/eu/siacs/conversations/ui/ChooseContactActivity.java | 1 + src/eu/siacs/conversations/ui/StartConversationActivity.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src/eu/siacs') diff --git a/src/eu/siacs/conversations/ui/ChooseContactActivity.java b/src/eu/siacs/conversations/ui/ChooseContactActivity.java index 277d21d6..62a2cbe1 100644 --- a/src/eu/siacs/conversations/ui/ChooseContactActivity.java +++ b/src/eu/siacs/conversations/ui/ChooseContactActivity.java @@ -82,6 +82,7 @@ public class ChooseContactActivity extends XmppActivity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_choose_contact); mListView = (ListView) findViewById(R.id.choose_contact_list); + mListView.setFastScrollEnabled(true); mContactsAdapter = new ListItemAdapter(this, contacts); mListView.setAdapter(mContactsAdapter); mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { diff --git a/src/eu/siacs/conversations/ui/StartConversationActivity.java b/src/eu/siacs/conversations/ui/StartConversationActivity.java index 6287070c..db6c1509 100644 --- a/src/eu/siacs/conversations/ui/StartConversationActivity.java +++ b/src/eu/siacs/conversations/ui/StartConversationActivity.java @@ -568,6 +568,7 @@ public class StartConversationActivity extends XmppActivity { public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); registerForContextMenu(getListView()); + getListView().setFastScrollEnabled(true); } @Override -- cgit v1.2.3