diff --git a/android/app/src/main/java/app/organicmaps/editor/OsmLoginFragment.java b/android/app/src/main/java/app/organicmaps/editor/OsmLoginFragment.java index ec56c2c842..3a6f48b1fd 100644 --- a/android/app/src/main/java/app/organicmaps/editor/OsmLoginFragment.java +++ b/android/app/src/main/java/app/organicmaps/editor/OsmLoginFragment.java @@ -57,8 +57,6 @@ public class OsmLoginFragment extends BaseMwmToolbarFragment registerButton.setOnClickListener((v) -> Utils.openUrl(requireActivity(), Constants.Url.OSM_REGISTER)); mProgress = view.findViewById(R.id.osm_login_progress); final String dataVersion = DateUtils.getShortDateFormatter().format(Framework.getDataVersion()); - ((TextView) view.findViewById(R.id.osm_presentation)) - .setText(getString(R.string.osm_presentation, dataVersion)); if (BuildConfig.FLAVOR.equals("google")) { diff --git a/android/app/src/main/res/layout-land/fragment_osm_login.xml b/android/app/src/main/res/layout-land/fragment_osm_login.xml index f95650d7dc..b764563d97 100644 --- a/android/app/src/main/res/layout-land/fragment_osm_login.xml +++ b/android/app/src/main/res/layout-land/fragment_osm_login.xml @@ -24,161 +24,141 @@ android:clipChildren="false" android:clipToPadding="false" android:orientation="vertical" - android:padding="@dimen/margin_base" tools:ignore="ScrollViewSize"> - - - - - - - + - - - + + + + + + + - - - - - + android:layout_height="match_parent" + android:layout_weight="1" + android:orientation="vertical" + android:padding="@dimen/margin_base"> + + + + + + + +