aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-21 00:45:07 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-21 00:45:07 +0200
commitcca5865ecb829524d9a21f503d9b8a644cb988f0 (patch)
tree43add76e40b6f3b934916a9a5fb2e16bd9120650
parent34de697e7e241886c2a2652a827b7be93086efa5 (diff)
fixed #454 - added fast srcolling to some lists
-rw-r--r--src/eu/siacs/conversations/ui/ChooseContactActivity.java1
-rw-r--r--src/eu/siacs/conversations/ui/StartConversationActivity.java1
2 files changed, 2 insertions, 0 deletions
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