Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24c10f0f authored by cketti's avatar cketti
Browse files

Explicitly set layout used in a ListActivity

parent 9ad5513d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/list"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:drawSelectorOnTop="false" />
+2 −0
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ public class ChooseFolder extends K9ListActivity {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
        setContentView(R.layout.list_content_simple);

        getListView().setFastScrollEnabled(true);
        getListView().setItemsCanFocus(false);
        getListView().setChoiceMode(ListView.CHOICE_MODE_NONE);
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ public class ChooseIdentity extends K9ListActivity {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
        setContentView(R.layout.list_content_simple);

        getListView().setTextFilterEnabled(true);
        getListView().setItemsCanFocus(false);