fix padding on headlinesfragment removed needlessly in portrait mode on
sw600dp
This commit is contained in:
parent
858e2c93c9
commit
48f2680916
@ -273,7 +273,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
//list.setEmptyView(view.findViewById(R.id.no_headlines));
|
//list.setEmptyView(view.findViewById(R.id.no_headlines));
|
||||||
registerForContextMenu(list);
|
registerForContextMenu(list);
|
||||||
|
|
||||||
if (m_activity.isSmallScreen() || m_activity.isPortrait())
|
if (m_activity.isSmallScreen())
|
||||||
view.findViewById(R.id.headlines_fragment).setPadding(0, 0, 0, 0);
|
view.findViewById(R.id.headlines_fragment).setPadding(0, 0, 0, 0);
|
||||||
|
|
||||||
Log.d(TAG, "onCreateView, feed=" + m_feed);
|
Log.d(TAG, "onCreateView, feed=" + m_feed);
|
||||||
|
@ -284,7 +284,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
|
|||||||
list.setEmptyView(view.findViewById(R.id.no_headlines));
|
list.setEmptyView(view.findViewById(R.id.no_headlines));
|
||||||
registerForContextMenu(list);
|
registerForContextMenu(list);
|
||||||
|
|
||||||
if (m_activity.isSmallScreen() || m_activity.isPortrait())
|
if (m_activity.isSmallScreen())
|
||||||
view.findViewById(R.id.headlines_fragment).setPadding(0, 0, 0, 0);
|
view.findViewById(R.id.headlines_fragment).setPadding(0, 0, 0, 0);
|
||||||
|
|
||||||
getActivity().setProgressBarIndeterminateVisibility(false);
|
getActivity().setProgressBarIndeterminateVisibility(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user