diff options
Diffstat (limited to 'android/res/layout/localized_name.xml')
-rw-r--r-- | android/res/layout/localized_name.xml | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/android/res/layout/localized_name.xml b/android/res/layout/localized_name.xml index 00c99104f1..26471aa0ef 100644 --- a/android/res/layout/localized_name.xml +++ b/android/res/layout/localized_name.xml @@ -2,52 +2,47 @@ <!-- TODO set attr android:animateLayoutChanges="true" when recyclerview-v7:23.2.1+ will be used. RecyclerView of earlier versions doesn't have scrollTo method and hence crashes.--> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/name" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/margin_base" android:orientation="vertical" android:paddingEnd="@dimen/margin_base" android:paddingLeft="@dimen/margin_base" android:paddingRight="@dimen/margin_base" android:paddingStart="@dimen/margin_base"> - <android.support.design.widget.TextInputLayout - android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <EditText - android:id="@+id/input" - style="@style/MwmWidget.Editor.FieldLayout.EditText" - android:hint="@string/editor_edit_place_name_hint" - android:singleLine="true"/> - - </android.support.design.widget.TextInputLayout> - <TextView - android:id="@+id/show_langs" + android:id="@+id/show_additional_names" android:layout_width="match_parent" android:layout_height="@dimen/height_block_base" android:background="?clickableBackground" android:fontFamily="@string/robotoMedium" android:gravity="center_vertical" - android:text="@string/other_languages" + android:text="@string/editor_edit_place_name_hint" android:textAppearance="@style/MwmTextAppearance.Body3" tools:drawableRight="@drawable/ic_expand_more" - tools:ignore="UnusedAttribute"/> + tools:ignore="UnusedAttribute" /> + + <include layout="@layout/recycler_default" /> - <include layout="@layout/recycler_default"/> + <TextView + android:id="@+id/more_names" + android:layout_width="match_parent" + android:layout_height="@dimen/height_block_base" + android:background="?clickableBackground" + android:gravity="center" + android:text="@string/placepage_more_button" + android:textAppearance="@style/MwmTextAppearance.Button" /> <TextView android:id="@+id/add_langs" android:layout_width="match_parent" android:layout_height="@dimen/height_block_base" android:background="?clickableBackground" - android:gravity="center_vertical" + android:gravity="center" android:text="@string/add_language" - android:textAppearance="@style/MwmTextAppearance.Button"/> + android:textAppearance="@style/MwmTextAppearance.Button" /> </LinearLayout>
\ No newline at end of file |