[editor][android] fix: Do not show keyboard on entering editor.

fix: Nicer editor UI framing.
This commit is contained in:
Alexander Marchuk 2016-05-11 19:11:43 +03:00 committed by Vladimir Byko-Ianko
parent d2ca6c53be
commit 20a132498f
2 changed files with 4 additions and 2 deletions

View file

@ -237,6 +237,7 @@
android:configChanges="orientation|screenLayout|screenSize"
android:label="@string/edit_place"
android:theme="@style/MwmTheme.EditorActivity"
android:windowSoftInputMode="adjustResize|stateHidden"
android:parentActivityName="com.mapswithme.maps.MwmActivity">
<!-- The meta-data element is needed for versions lower than 4.1 -->
<meta-data

View file

@ -4,13 +4,13 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/margin_half"
tools:context=".editor.EditorActivity"
tools:ignore="DuplicateIds">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_half"
android:orientation="vertical">
<android.support.v7.widget.CardView
@ -327,7 +327,8 @@
<android.support.v7.widget.CardView
android:id="@+id/cv__more"
style="@style/MwmWidget.Editor.CardView"
android:layout_marginTop="@dimen/margin_double">
android:layout_marginTop="@dimen/margin_double"
android:layout_marginBottom="@dimen/margin_base">
<TextView
android:id="@+id/reset"