forked from organicmaps/organicmaps
[android] fix: Compass and zoom controls adjustment on tablets.
This commit is contained in:
parent
64067f1917
commit
f1e72a4a1f
2 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,10 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/margin_half">
|
||||
android:paddingLeft="@dimen/margin_half"
|
||||
android:paddingRight="0dp"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:paddingBottom="@dimen/margin_half">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btn__myposition"
|
||||
|
@ -27,6 +30,7 @@
|
|||
<ImageButton
|
||||
android:id="@+id/map_button_minus"
|
||||
style="@style/MwmWidget.MapButton.Zoom"
|
||||
android:layout_marginRight="@dimen/margin_quarter"
|
||||
android:layout_above="@id/space_bottom"
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@drawable/ic_zoom_out"/>
|
||||
|
@ -34,6 +38,7 @@
|
|||
<ImageButton
|
||||
android:id="@+id/map_button_plus"
|
||||
style="@style/MwmWidget.MapButton.Zoom"
|
||||
android:layout_marginRight="@dimen/margin_quarter"
|
||||
android:layout_above="@+id/map_button_minus"
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@drawable/ic_zoom_in"/>
|
||||
|
|
|
@ -36,4 +36,5 @@
|
|||
<dimen name="margin_direction_mid">36dp</dimen>
|
||||
<dimen name="margin_direction_around_center">40dp</dimen>
|
||||
|
||||
<dimen name="margin_left_compass">44dp</dimen>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Reference in a new issue