mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-13 06:10:55 +00:00
(Android) implement fast scroll in XML layout, not code
This commit is contained in:
parent
834b457294
commit
0fb902cc47
@ -2,6 +2,8 @@
|
||||
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
android:layout_height="wrap_content"
|
||||
android:fastScrollEnabled="true" >
|
||||
|
||||
</ListView>
|
||||
|
||||
|
@ -150,7 +150,6 @@ public class DirectoryActivity extends Activity implements
|
||||
ListView list = (ListView) findViewById(R.id.list);
|
||||
list.setAdapter(adapter);
|
||||
list.setOnItemClickListener(this);
|
||||
list.setFastScrollEnabled(true);
|
||||
|
||||
// Load Directory
|
||||
if (savedInstanceState != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user