|
|
|
@ -3,9 +3,9 @@ package com.todoroo.astrid.tags.reusable;
|
|
|
|
|
import android.app.Activity;
|
|
|
|
|
|
|
|
|
|
import com.timsu.astrid.R;
|
|
|
|
|
import com.todoroo.andlib.utility.AndroidUtilities;
|
|
|
|
|
import com.todoroo.astrid.activity.FilterListFragment;
|
|
|
|
|
import com.todoroo.astrid.adapter.FilterAdapter;
|
|
|
|
|
import com.todoroo.astrid.utility.AstridPreferences;
|
|
|
|
|
|
|
|
|
|
public class FeaturedListFragment extends FilterListFragment {
|
|
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ public class FeaturedListFragment extends FilterListFragment {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected int getLayout(Activity activity) {
|
|
|
|
|
if (AndroidUtilities.isTabletSized(activity))
|
|
|
|
|
if (AstridPreferences.useTabletLayout(activity))
|
|
|
|
|
return R.layout.filter_list_fragment_alternative_3pane;
|
|
|
|
|
else
|
|
|
|
|
return R.layout.filter_list_fragment_alternative;
|
|
|
|
|