Add padding from status bar
This commit is contained in:
parent
1df11c1ad8
commit
548f842921
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ public class MapMultiSelectionMenuFragment extends Fragment implements AdapterVi
|
|||
}
|
||||
|
||||
ListView listView = (ListView) view.findViewById(R.id.list);
|
||||
if (menu.isLandscapeLayout() && Build.VERSION.SDK_INT >= 21) {
|
||||
AndroidUtils.addStatusBarPadding21v(getActivity(), listView);
|
||||
listView.setClipToPadding(false);
|
||||
}
|
||||
listAdapter = createAdapter();
|
||||
listView.setAdapter(listAdapter);
|
||||
listView.setOnItemClickListener(this);
|
||||
|
|
Loading…
Reference in a new issue