From a6de6b2932e777a7492dd86a85bb568d07a1394e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 7 May 2014 19:18:10 -0400 Subject: [PATCH] use two text item layout with label and packageName for SelectLocalApps Having the packageName as the minor text is useful for figuring out who the developer of the app is. --- .../fdroid/fdroid/views/fragments/SelectLocalAppsFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/fdroid/fdroid/views/fragments/SelectLocalAppsFragment.java b/src/org/fdroid/fdroid/views/fragments/SelectLocalAppsFragment.java index 58d15c363..4342719a5 100644 --- a/src/org/fdroid/fdroid/views/fragments/SelectLocalAppsFragment.java +++ b/src/org/fdroid/fdroid/views/fragments/SelectLocalAppsFragment.java @@ -57,7 +57,7 @@ public class SelectLocalAppsFragment extends ListFragment implements LoaderCallb ListView listView = getListView(); listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity(), - android.R.layout.simple_list_item_activated_1, + android.R.layout.simple_list_item_activated_2, null, new String[] { InstalledAppProvider.DataColumns.APPLICATION_LABEL, @@ -65,6 +65,7 @@ public class SelectLocalAppsFragment extends ListFragment implements LoaderCallb }, new int[] { android.R.id.text1, + android.R.id.text2, }, 0); setListAdapter(adapter);