From 58160c87c7daa29603b88ebdafad9cd48c2de3a5 Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Thu, 10 Jul 2014 18:24:58 +0200 Subject: [PATCH] Styles and layouts changes. --- .../layout/map_bottom_vertical_toolbar.xml | 8 +++---- .../res/drawable/separator_medium_padded.xml | 10 +++++++++ .../layout/map_bottom_vertical_toolbar.xml | 6 ++--- android/res/layout/search_box.xml | 8 +++---- android/res/layout/search_category_item.xml | 5 +++-- android/res/layout/search_item.xml | 22 +++++++++---------- android/res/layout/search_list_view.xml | 4 ++-- android/res/layout/search_message_item.xml | 9 ++------ android/res/values/dimens.xml | 1 + android/res/values/styles.xml | 11 ++++++++-- 10 files changed, 49 insertions(+), 35 deletions(-) create mode 100644 android/res/drawable/separator_medium_padded.xml diff --git a/android/flavors/lite/res/layout/map_bottom_vertical_toolbar.xml b/android/flavors/lite/res/layout/map_bottom_vertical_toolbar.xml index ceab03f09a..207723a6b4 100644 --- a/android/flavors/lite/res/layout/map_bottom_vertical_toolbar.xml +++ b/android/flavors/lite/res/layout/map_bottom_vertical_toolbar.xml @@ -15,7 +15,7 @@ android:paddingLeft="10dp"/> + style="@style/drawerSeparatorMediumPadded"/> + style="@style/drawerSeparatorMediumPadded"/> + style="@style/drawerSeparatorMediumPadded"/> + style="@style/drawerSeparatorMediumPadded"/> + + + + + + + \ No newline at end of file diff --git a/android/res/layout/map_bottom_vertical_toolbar.xml b/android/res/layout/map_bottom_vertical_toolbar.xml index c842ebeccd..d2debe440f 100644 --- a/android/res/layout/map_bottom_vertical_toolbar.xml +++ b/android/res/layout/map_bottom_vertical_toolbar.xml @@ -24,7 +24,7 @@ android:textColor="@android:color/white"/> + style="@style/drawerSeparatorMediumPadded"/> + style="@style/drawerSeparatorMediumPadded"/> + style="@style/drawerSeparatorMediumPadded"/> diff --git a/android/res/layout/search_category_item.xml b/android/res/layout/search_category_item.xml index 306ed347d9..b029419b87 100644 --- a/android/res/layout/search_category_item.xml +++ b/android/res/layout/search_category_item.xml @@ -1,11 +1,12 @@ + android:paddingLeft="@dimen/margin_medium" + android:paddingRight="@dimen/margin_medium"> + android:paddingLeft="@dimen/margin_medium" + android:paddingRight="@dimen/margin_medium"> @@ -21,16 +20,17 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" + android:layout_marginLeft="@dimen/margin_small" android:gravity="left|center_vertical" android:orientation="vertical"> + android:textAppearance="@style/Holo.TextAppearance.Medium.Light" + android:textColor="@color/text_search_item"/> + android:textColor="@color/text_search_item" + android:textSize="12sp"/> + android:textColor="@color/text_search_item" + android:textSize="16sp"/> diff --git a/android/res/layout/search_list_view.xml b/android/res/layout/search_list_view.xml index 2b283945c4..dbda286adc 100644 --- a/android/res/layout/search_list_view.xml +++ b/android/res/layout/search_list_view.xml @@ -17,8 +17,8 @@ android:layout_height="match_parent" android:animationCache="false" android:background="@color/bg_bottom_toolbar" - android:divider="@drawable/horizontal_two_px_separator" - android:dividerHeight="1dp" + android:divider="@drawable/separator_medium_padded" + android:dividerHeight="1px" android:scrollbarStyle="outsideOverlay" android:scrollingCache="false"/> diff --git a/android/res/layout/search_message_item.xml b/android/res/layout/search_message_item.xml index 2e009883ef..fa80758bfb 100644 --- a/android/res/layout/search_message_item.xml +++ b/android/res/layout/search_message_item.xml @@ -1,14 +1,9 @@ + android:orientation="vertical"> 4dp 7dp 46dp + @dimen/dp_x_14 diff --git a/android/res/values/styles.xml b/android/res/values/styles.xml index fcf0cbda25..b1390db65f 100644 --- a/android/res/values/styles.xml +++ b/android/res/values/styles.xml @@ -74,6 +74,7 @@ @null true @android:style/Animation + @drawable/separator_medium_padded @@ -97,11 +98,17 @@ + +