Fixed landscape layout for menu.

This commit is contained in:
GaidamakUA 2016-05-26 15:43:15 +03:00
parent 47e6dcd857
commit 1245ba5a3d
2 changed files with 21 additions and 27 deletions

View file

@ -249,7 +249,6 @@
layout="@layout/move_marker_bottom_sheet" layout="@layout/move_marker_bottom_sheet"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"/>
tools:visibility="gone"/>
</RelativeLayout> </RelativeLayout>

View file

@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:background="?attr/left_menu_view_bg" android:background="?attr/bottom_menu_view_bg"
android:clickable="true" android:clickable="true"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
@ -19,7 +19,8 @@
android:src="@drawable/ic_action_photo_dark"/> android:src="@drawable/ic_action_photo_dark"/>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
@ -43,18 +44,14 @@
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
tools:text="Lat: 50.45375 Lon: 30.48693"/> tools:text="Lat: 50.45375 Lon: 30.48693"/>
<LinearLayout </LinearLayout>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp">
<android.support.v7.widget.AppCompatButton <android.support.v7.widget.AppCompatButton
android:id="@+id/apply_button" android:id="@+id/apply_button"
style="@style/Widget.AppCompat.Button.Colored" style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/shared_string_apply"/> android:text="@string/shared_string_apply"/>
<android.support.v7.widget.AppCompatButton <android.support.v7.widget.AppCompatButton
@ -62,9 +59,7 @@
style="@style/Widget.AppCompat.Button.Borderless.Colored" style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="16dp"
android:layout_gravity="center_vertical"
android:text="@string/shared_string_cancel"/> android:text="@string/shared_string_cancel"/>
</LinearLayout>
</LinearLayout>
</LinearLayout> </LinearLayout>