diff --git a/android/res/layout-land/place_page.xml b/android/res/layout-land/place_page.xml index 9784005ba1..93428c0df9 100644 --- a/android/res/layout-land/place_page.xml +++ b/android/res/layout-land/place_page.xml @@ -1,23 +1,24 @@ - + android:id="@+id/pp__preview" + layout="@layout/place_page_preview" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + android:id="@+id/pp__details_frame" + layout="@layout/place_page_details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/pp__preview"/> + + diff --git a/android/res/layout/place_page.xml b/android/res/layout/place_page.xml index 7c758e13b1..78d1766de0 100644 --- a/android/res/layout/place_page.xml +++ b/android/res/layout/place_page.xml @@ -2,31 +2,30 @@ + android:id="@+id/pp__preview" + layout="@layout/place_page_preview" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_above="@+id/pp__buttons"/> + android:id="@+id/pp__details_frame" + layout="@layout/place_page_details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_above="@+id/pp__buttons" + android:background="?panel"/> + android:id="@+id/pp__buttons" + layout="@layout/place_page_buttons" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true"/> + android:id="@+id/toolbar_layout" + layout="@layout/toolbar_elevated" + android:visibility="gone"/> diff --git a/android/res/layout/place_page_bookmark_details.xml b/android/res/layout/place_page_bookmark_details.xml index 5d7e10d2a1..779c4c59d0 100644 --- a/android/res/layout/place_page_bookmark_details.xml +++ b/android/res/layout/place_page_bookmark_details.xml @@ -1,118 +1,136 @@ + + - + android:layout_height="1dp" + android:background="?attr/dividerHorizontal"/> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/margin_half" + android:layout_marginTop="@dimen/margin_base"> + android:id="@+id/et__bookmark_name" + style="@style/MwmWidget.PlacePage.EditText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:hint="@string/name" + android:inputType="textCapWords" + android:singleLine="true"/> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/margin_base_plus" + android:lineSpacingMultiplier="1.67" + android:text="@string/set" + android:textAppearance="@style/MwmTextAppearance.Caption"/> + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + android:id="@+id/tv__bookmark_group" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_toLeftOf="@+id/iv__bookmark_color" + android:layout_toStartOf="@id/iv__bookmark_color" + android:background="?clickableBackground" + android:drawableEnd="@drawable/ic_arrow_down" + android:drawableRight="@drawable/ic_arrow_down" + android:lineSpacingMultiplier="1.43" + android:paddingBottom="@dimen/margin_half" + android:paddingEnd="@dimen/margin_half" + android:paddingRight="@dimen/margin_half" + android:paddingTop="@dimen/margin_half" + android:textAppearance="@style/MwmTextAppearance.PlacePage" + tools:ignore="RtlSymmetry"/> + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_below="@id/tv__bookmark_group" + android:layout_marginTop="@dimen/margin_quarter" + android:layout_toLeftOf="@id/iv__bookmark_color" + android:layout_toStartOf="@id/iv__bookmark_color" + android:background="?attr/dividerHorizontal"/> + android:id="@+id/iv__bookmark_color" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:background="?clickableBackground" + android:padding="@dimen/margin_half" + tools:src="@drawable/ic_bookmark_marker_red_on"/> + android:id="@+id/tv__bookmark_notes" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:lineSpacingMultiplier="1.67" + android:paddingBottom="@dimen/margin_half" + android:paddingTop="@dimen/margin_base" + android:text="@string/description" + android:textAppearance="@style/MwmTextAppearance.Caption"/> + + + + - - + android:id="@+id/wv__description" + android:layout_width="match_parent" + android:layout_height="wrap_content"/>