[android] Fixed alignment for opening hours.

This commit is contained in:
Dmitry Yunitsky 2016-03-21 15:30:27 +03:00 committed by Sergey Yershov
parent e6b851f619
commit ed7039eb30
2 changed files with 13 additions and 9 deletions

View file

@ -6,11 +6,12 @@
android:layout_height="wrap_content"
android:background="?clickableBackground"
android:minHeight="@dimen/editor_height_field"
android:paddingEnd="@dimen/margin_base"
android:paddingLeft="@dimen/margin_half"
android:paddingRight="@dimen/margin_base"
android:paddingStart="@dimen/margin_half"
android:tag="schedule">
android:paddingEnd="@dimen/margin_quarter"
android:paddingLeft="@dimen/margin_half_plus"
android:paddingRight="@dimen/margin_quarter"
android:paddingStart="@dimen/margin_half_plus"
android:tag="schedule"
tools:ignore="RtlSymmetry">
<ImageView
android:layout_width="wrap_content"
@ -26,8 +27,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/editor_margin_left"
android:layout_marginStart="@dimen/editor_margin_left"
android:layout_marginLeft="@dimen/editor_margin_timetable_left"
android:layout_marginStart="@dimen/editor_margin_timetable_left"
android:orientation="vertical"
tools:visibility="gone">
@ -52,8 +53,8 @@
android:id="@+id/opening_hours"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/editor_margin_left"
android:layout_marginStart="@dimen/editor_margin_left"
android:layout_marginLeft="@dimen/editor_margin_timetable_left"
android:layout_marginStart="@dimen/editor_margin_timetable_left"
android:layout_marginTop="14dp"
android:background="?clickableBackground"
android:lineSpacingExtra="@dimen/margin_base"
@ -64,6 +65,8 @@
android:id="@+id/edit_opening_hours"
style="@style/MwmWidget.Editor.FieldLayout"
android:layout_below="@id/opening_hours"
android:layout_marginLeft="@dimen/editor_margin_timetable_left"
android:layout_marginStart="@dimen/editor_margin_timetable_left"
android:layout_marginTop="@dimen/margin_base_plus"
android:background="?clickableBackground"
android:gravity="center_vertical"

View file

@ -104,4 +104,5 @@
<dimen name="editor_margin_left">56dp</dimen>
<dimen name="editor_margin_left_plus">72dp</dimen>
<dimen name="editor_auth_btn_height">36dp</dimen>
<dimen name="editor_margin_timetable_left">50dp</dimen>
</resources>