diff options
author | Dmitry Yunitsky <yunik@mapswithme.com> | 2014-10-23 17:39:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:31:27 +0300 |
commit | 49454ce3721a0c77c124cb5862ca4d01c15c959b (patch) | |
tree | 9dc4c779a1bcbecea5f9837423eb57dd500b25df /android/res/layout-land | |
parent | e62ae3c50f2c8c90259f676e5aebdb45a92e711b (diff) |
PPP UI changes.
Diffstat (limited to 'android/res/layout-land')
-rw-r--r-- | android/res/layout-land/info_box.xml | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/android/res/layout-land/info_box.xml b/android/res/layout-land/info_box.xml index da99475089..ab946103e1 100644 --- a/android/res/layout-land/info_box.xml +++ b/android/res/layout-land/info_box.xml @@ -17,35 +17,38 @@ android:layout_height="wrap_content" android:background="@color/bg_top_panels" android:orientation="horizontal" - android:padding="@dimen/margin_small" - android:paddingLeft="@dimen/margin_medium"> + android:padding="@dimen/margin_tiny" + android:paddingBottom="0dp"> <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="1"> + android:layout_weight="1" + android:paddingBottom="@dimen/margin_tiny" + android:paddingLeft="@dimen/margin_small_and_half"> <TextView android:id="@+id/info_subtitle" style="@style/Holo.TextAppearance.Medium.Light" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_marginRight="@dimen/margin_large" - android:layout_marginTop="@dimen/margin_micro" android:fontFamily="@string/robotoLight" - android:paddingRight="5dp" - android:textColor="@color/text_info_box"/> + android:textColor="@color/text_info_box" + android:textSize="@dimen/ppp_title_text_size"/> <TextView android:id="@+id/info_title" style="@style/Holo.TextAppearance.Large.Light" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/margin_micro" + android:layout_alignParentBottom="true" android:fontFamily="@string/robotoLight" android:paddingRight="@dimen/margin_large" - android:textColor="@color/text_info_box"/> + android:textColor="@color/text_info_box" + android:textSize="@dimen/ppp_subtitle_text_size"/> <ImageButton android:id="@+id/btn_edit_title" @@ -66,8 +69,8 @@ <ImageView android:id="@+id/iv__start_routing" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="@dimen/ppp_button_size" + android:layout_height="@dimen/ppp_button_size_small" android:layout_gravity="center" android:padding="@dimen/margin_small" android:src="@drawable/ic_drive"/> @@ -81,13 +84,14 @@ </FrameLayout> - <CheckBox + <ToggleButton android:id="@+id/info_box_is_bookmarked" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + style="@style/bookmarkToggleButton" + android:layout_width="@dimen/ppp_button_size" + android:layout_height="@dimen/ppp_button_size_small" android:layout_weight="0" - android:button="@drawable/ic_bookmarks_selector" - android:padding="8dp"/> + android:background="@drawable/ic_bookmarks_toggle_bg"/> + </LinearLayout> <RelativeLayout |