Add padding from status bar

This commit is contained in:
Alexander Sytnyk 2017-11-07 17:59:22 +02:00
parent 1df11c1ad8
commit 548f842921

View file

@ -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);