Add padding in landscape
This commit is contained in:
parent
504dd2555a
commit
9a70c096b1
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ public class TrackDetailsMenuFragment extends BaseOsmAndFragment {
|
|||
|
||||
menu = mapActivity.getMapLayers().getMapControlsLayer().getTrackDetailsMenu();
|
||||
View view = inflater.inflate(R.layout.track_details, container, false);
|
||||
if (!AndroidUiHelper.isOrientationPortrait(getActivity())) {
|
||||
AndroidUtils.addStatusBarPadding21v(getActivity(), view);
|
||||
}
|
||||
if (menu == null || menu.getGpxItem() == null) {
|
||||
return view;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue