fixed #454 - added fast srcolling to some lists
This commit is contained in:
parent
34de697e7e
commit
cca5865ecb
|
@ -82,6 +82,7 @@ public class ChooseContactActivity extends XmppActivity {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_choose_contact);
|
setContentView(R.layout.activity_choose_contact);
|
||||||
mListView = (ListView) findViewById(R.id.choose_contact_list);
|
mListView = (ListView) findViewById(R.id.choose_contact_list);
|
||||||
|
mListView.setFastScrollEnabled(true);
|
||||||
mContactsAdapter = new ListItemAdapter(this, contacts);
|
mContactsAdapter = new ListItemAdapter(this, contacts);
|
||||||
mListView.setAdapter(mContactsAdapter);
|
mListView.setAdapter(mContactsAdapter);
|
||||||
mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||||
|
|
|
@ -568,6 +568,7 @@ public class StartConversationActivity extends XmppActivity {
|
||||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||||
super.onViewCreated(view, savedInstanceState);
|
super.onViewCreated(view, savedInstanceState);
|
||||||
registerForContextMenu(getListView());
|
registerForContextMenu(getListView());
|
||||||
|
getListView().setFastScrollEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue