From b517bdfa4849e68516aa9653de03568b43a6d6b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Mon, 17 Mar 2014 19:09:40 +0100 Subject: Configuration Wizard sized for tablets. Including provider details. --- src/se/leap/bitmaskclient/ProviderListAdapter.java | 2 +- src/se/leap/bitmaskclient/ProviderListFragment.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/se/leap/bitmaskclient/ProviderListAdapter.java b/src/se/leap/bitmaskclient/ProviderListAdapter.java index c5e8b64d..43bba085 100644 --- a/src/se/leap/bitmaskclient/ProviderListAdapter.java +++ b/src/se/leap/bitmaskclient/ProviderListAdapter.java @@ -101,7 +101,7 @@ public class ProviderListAdapter extends ArrayAdapter { int position = getRealPosition(index); if (convertView == null) { LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE); - row = (TwoLineListItem)inflater.inflate(android.R.layout.simple_list_item_2, null); + row = (TwoLineListItem)inflater.inflate(R.layout.provider_list_item, null); } else { row = (TwoLineListItem)convertView; } diff --git a/src/se/leap/bitmaskclient/ProviderListFragment.java b/src/se/leap/bitmaskclient/ProviderListFragment.java index f35cf739..db414d87 100644 --- a/src/se/leap/bitmaskclient/ProviderListFragment.java +++ b/src/se/leap/bitmaskclient/ProviderListFragment.java @@ -94,12 +94,12 @@ public class ProviderListFragment extends ListFragment { if(getArguments().containsKey(SHOW_ALL_PROVIDERS)) content_adapter = new ProviderListAdapter( getActivity(), - android.R.layout.simple_list_item_activated_2, + R.layout.provider_list_item, ProviderListContent.ITEMS, getArguments().getBoolean(SHOW_ALL_PROVIDERS)); else content_adapter = new ProviderListAdapter( getActivity(), - android.R.layout.simple_list_item_activated_2, + R.layout.provider_list_item, ProviderListContent.ITEMS); -- cgit v1.2.3