From ea48360941038b8110909b85de3809b5a5ec1772 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Wed, 6 Dec 2017 16:39:45 +0200 Subject: [PATCH] Fix #4834 --- .../osmand/plus/firstusage/FirstUsageWizardFragment.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java b/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java index a57afd3dbc..c312701039 100644 --- a/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java +++ b/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java @@ -22,6 +22,7 @@ import android.widget.ProgressBar; import android.widget.TextView; import net.osmand.AndroidNetworkUtils; +import net.osmand.AndroidUtils; import net.osmand.Location; import net.osmand.ValueHolder; import net.osmand.binary.BinaryMapDataObject; @@ -119,6 +120,7 @@ public class FirstUsageWizardFragment extends BaseOsmAndFragment implements OsmA @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { view = inflater.inflate(R.layout.first_usage_wizard_fragment, container, false); + AndroidUtils.addStatusBarPadding21v(getActivity(), view); if (!AndroidUiHelper.isOrientationPortrait(getActivity()) && !AndroidUiHelper.isXLargeDevice(getActivity())) { TextView wizardDescription = (TextView) view.findViewById(R.id.wizard_description); @@ -450,11 +452,6 @@ public class FirstUsageWizardFragment extends BaseOsmAndFragment implements OsmA ((MapActivity)getActivity()).enableDrawer(); } - @Override - protected boolean isFullScreenAllowed() { - return false; - } - @Override public void updateLocation(final Location loc) { final OsmandApplication app = getMyApplication();