diff --git a/android/res/drawable/bg_btn_zoom.xml b/android/res/drawable/bg_btn_zoom.xml
index c765e3bf67..e6b2173eee 100644
--- a/android/res/drawable/bg_btn_zoom.xml
+++ b/android/res/drawable/bg_btn_zoom.xml
@@ -9,5 +9,8 @@
+
+
\ No newline at end of file
diff --git a/android/res/layout-land/activity_map.xml b/android/res/layout-land/activity_map.xml
index 75392ffb3e..dc035556f0 100644
--- a/android/res/layout-land/activity_map.xml
+++ b/android/res/layout-land/activity_map.xml
@@ -50,6 +50,6 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
- android:padding="@dimen/margin_small"/>
+ android:padding="@dimen/margin_quarter"/>
\ No newline at end of file
diff --git a/android/res/layout-sw600dp-land/activity_map.xml b/android/res/layout-sw600dp-land/activity_map.xml
index e0c4808e29..3b7ce7c044 100644
--- a/android/res/layout-sw600dp-land/activity_map.xml
+++ b/android/res/layout-sw600dp-land/activity_map.xml
@@ -14,7 +14,7 @@
android:layout_width="@dimen/panel_width"
android:layout_height="@dimen/routing_pp_height"
android:layout_below="@+id/toolbar_search"
- android:layout_margin="@dimen/margin_medium">
+ android:layout_margin="@dimen/margin_base">
@@ -29,7 +29,7 @@
android:layout_width="@dimen/panel_width"
android:layout_height="wrap_content"
android:layout_below="@+id/toolbar_search"
- android:layout_margin="@dimen/margin_medium"
+ android:layout_margin="@dimen/margin_base"
placePage:animationType="leftTop"/>
+ android:layout_margin="@dimen/margin_base"/>
+ android:layout_margin="@dimen/margin_base"/>
+ android:padding="@dimen/margin_quarter"/>
\ No newline at end of file
diff --git a/android/res/layout-sw600dp/activity_map.xml b/android/res/layout-sw600dp/activity_map.xml
index e04efd0d51..6f791cb8e0 100644
--- a/android/res/layout-sw600dp/activity_map.xml
+++ b/android/res/layout-sw600dp/activity_map.xml
@@ -15,14 +15,14 @@
layout="@layout/toolbar_with_search"
android:layout_width="@dimen/panel_width"
android:layout_height="?attr/actionBarSize"
- android:layout_margin="@dimen/margin_medium"/>
+ android:layout_margin="@dimen/margin_base"/>
+ android:layout_margin="@dimen/margin_base">
@@ -50,7 +50,7 @@
android:id="@+id/fragment_container"
android:layout_width="@dimen/panel_width"
android:layout_height="match_parent"
- android:layout_margin="@dimen/margin_medium"/>
+ android:layout_margin="@dimen/margin_base"/>
+ android:padding="@dimen/margin_quarter"/>
\ No newline at end of file
diff --git a/android/res/layout-sw600dp/download_item_placeholder.xml b/android/res/layout-sw600dp/download_item_placeholder.xml
index fc22832dc9..3178cc7ca8 100644
--- a/android/res/layout-sw600dp/download_item_placeholder.xml
+++ b/android/res/layout-sw600dp/download_item_placeholder.xml
@@ -1,5 +1,5 @@
diff --git a/android/res/layout-sw600dp/fragment_downloader.xml b/android/res/layout-sw600dp/fragment_downloader.xml
index cb8fd24d55..9e6c09fe57 100644
--- a/android/res/layout-sw600dp/fragment_downloader.xml
+++ b/android/res/layout-sw600dp/fragment_downloader.xml
@@ -20,7 +20,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:gravity="center_vertical"
- android:padding="@dimen/margin_small"
+ android:padding="@dimen/margin_half"
android:text="@string/downloader_update_all"
android:textAppearance="@style/MwmTextAppearance.Toolbar.Button"/>
diff --git a/android/res/layout-sw600dp/map_navigation_buttons.xml b/android/res/layout-sw600dp/map_navigation_buttons.xml
index 1081d9d40f..d59e94e64f 100644
--- a/android/res/layout-sw600dp/map_navigation_buttons.xml
+++ b/android/res/layout-sw600dp/map_navigation_buttons.xml
@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/margin_small">
+ android:padding="@dimen/margin_half">
+ android:layout_marginLeft="@dimen/margin_base"/>
+ android:paddingLeft="@dimen/margin_base_plus"
+ android:paddingRight="@dimen/margin_base_plus">
+ android:paddingBottom="@dimen/margin_half"
+ android:paddingTop="@dimen/margin_half">
+ android:layout_marginLeft="@dimen/margin_base"
+ android:layout_marginRight="@dimen/margin_base"/>
+ android:layout_margin="@dimen/margin_base">
@@ -28,7 +28,7 @@
android:id="@+id/info_box"
android:layout_width="@dimen/panel_width"
android:layout_height="wrap_content"
- android:layout_margin="@dimen/margin_medium"
+ android:layout_margin="@dimen/margin_base"
placePage:animationType="leftTop"/>
+ android:layout_margin="@dimen/margin_base"/>
+ android:layout_margin="@dimen/margin_base"/>
+ android:padding="@dimen/margin_quarter"/>
\ No newline at end of file
diff --git a/android/res/layout/activity_map.xml b/android/res/layout/activity_map.xml
index 469472c99c..45929d76e2 100644
--- a/android/res/layout/activity_map.xml
+++ b/android/res/layout/activity_map.xml
@@ -57,5 +57,5 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
- android:padding="@dimen/margin_small"/>
+ android:padding="@dimen/margin_quarter"/>
\ No newline at end of file
diff --git a/android/res/layout/color_row.xml b/android/res/layout/color_row.xml
index 023c2d0332..0633114782 100644
--- a/android/res/layout/color_row.xml
+++ b/android/res/layout/color_row.xml
@@ -3,7 +3,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/clickableBackground"
- android:padding="@dimen/margin_small_and_half">
+ android:padding="@dimen/margin_half_plus">
+ android:padding="@dimen/margin_base_plus">
+ android:paddingLeft="@dimen/margin_half">
@@ -26,11 +26,11 @@
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/progress_wheel_width_neg"
- android:paddingLeft="@dimen/margin_tiny"
- android:paddingRight="@dimen/margin_tiny"
+ android:paddingLeft="@dimen/margin_quarter"
+ android:paddingRight="@dimen/margin_quarter"
wheel:progressColor="@color/downloader_blue"
wheel:secondaryColor="@color/downloader_progress_bg"
- wheel:wheelThickness="@dimen/margin_micro"/>
+ wheel:wheelThickness="@dimen/margin_eighth"/>
+ wheel:wheelThickness="@dimen/margin_eighth"/>
diff --git a/android/res/layout/download_item_dialog.xml b/android/res/layout/download_item_dialog.xml
index 3be5d9f88d..9164247a3a 100644
--- a/android/res/layout/download_item_dialog.xml
+++ b/android/res/layout/download_item_dialog.xml
@@ -21,8 +21,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/divider_top"
- android:layout_marginLeft="@dimen/margin_medium_and_half"
- android:layout_marginRight="@dimen/margin_medium_and_half"
+ android:layout_marginLeft="@dimen/margin_base_plus"
+ android:layout_marginRight="@dimen/margin_base_plus"
android:gravity="center_vertical"
android:minHeight="60dp"
android:orientation="horizontal">
diff --git a/android/res/layout/download_item_extended.xml b/android/res/layout/download_item_extended.xml
index b2529e4cec..9b74a88851 100644
--- a/android/res/layout/download_item_extended.xml
+++ b/android/res/layout/download_item_extended.xml
@@ -9,8 +9,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/margin_medium"
- android:layout_marginRight="@dimen/margin_medium"
+ android:layout_marginLeft="@dimen/margin_base"
+ android:layout_marginRight="@dimen/margin_base"
android:text="@string/downloader_downloaded"
android:textAppearance="@style/MwmTextAppearance.Body1"/>
diff --git a/android/res/layout/download_item_group.xml b/android/res/layout/download_item_group.xml
index ae965ddae5..cf2d777560 100644
--- a/android/res/layout/download_item_group.xml
+++ b/android/res/layout/download_item_group.xml
@@ -10,7 +10,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/margin_medium"
+ android:layout_marginLeft="@dimen/margin_base"
android:textAppearance="@style/MwmTextAppearance.Body1"/>
\ No newline at end of file
diff --git a/android/res/layout/download_item_placeholder.xml b/android/res/layout/download_item_placeholder.xml
index fc22832dc9..3178cc7ca8 100644
--- a/android/res/layout/download_item_placeholder.xml
+++ b/android/res/layout/download_item_placeholder.xml
@@ -1,5 +1,5 @@
diff --git a/android/res/layout/download_item_updated.xml b/android/res/layout/download_item_updated.xml
index 8306685172..b0c267ab9d 100644
--- a/android/res/layout/download_item_updated.xml
+++ b/android/res/layout/download_item_updated.xml
@@ -5,6 +5,6 @@
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@color/downloader_gray_bg"
- android:paddingLeft="@dimen/margin_medium"
- android:paddingTop="@dimen/margin_small"
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingTop="@dimen/margin_half"
android:textAppearance="@style/MwmTextAppearance.Body3"/>
\ No newline at end of file
diff --git a/android/res/layout/edit_bookmark_common.xml b/android/res/layout/edit_bookmark_common.xml
index 11d471f9ac..3385fa7a43 100644
--- a/android/res/layout/edit_bookmark_common.xml
+++ b/android/res/layout/edit_bookmark_common.xml
@@ -4,14 +4,14 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/margin_small">
+ android:padding="@dimen/margin_half">
+ android:layout_marginLeft="@dimen/margin_half_plus"
+ android:layout_marginTop="@dimen/margin_half">
@@ -54,20 +54,20 @@
android:layout_height="wrap_content"
android:layout_below="@id/tv__bookmark_set_title"
android:layout_centerVertical="true"
- android:layout_marginRight="@dimen/margin_extra_large"
+ android:layout_marginRight="@dimen/margin_quadruple"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:drawableRight="@drawable/ic_arrow_down"
- android:paddingBottom="@dimen/margin_small"
- android:paddingTop="@dimen/margin_tiny_and_half"
+ android:paddingBottom="@dimen/margin_half"
+ android:paddingTop="@dimen/margin_quarter_plus"
android:textAppearance="@style/MwmTextAppearance.Body1"/>
@@ -85,9 +85,9 @@
android:layout_width="match_parent"
android:layout_height="@dimen/height_item_edit_bookmark"
android:layout_below="@id/rl__bookmark_set"
- android:layout_margin="@dimen/margin_small"
+ android:layout_margin="@dimen/margin_half"
android:orientation="vertical"
- android:paddingTop="@dimen/margin_medium">
+ android:paddingTop="@dimen/margin_base">
@@ -22,9 +22,9 @@
android:id="@+id/tv__title"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginBottom="@dimen/margin_medium"
- android:layout_marginLeft="@dimen/margin_medium_and_half"
- android:layout_marginRight="@dimen/margin_medium_and_half"
+ android:layout_marginBottom="@dimen/margin_base"
+ android:layout_marginLeft="@dimen/margin_base_plus"
+ android:layout_marginRight="@dimen/margin_base_plus"
android:text="@string/rating_do_like_maps"
android:textAppearance="@style/MwmTextAppearance.Title.Light"
android:textStyle="bold"/>
@@ -34,10 +34,10 @@
android:id="@+id/tv__subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/margin_medium_and_half"
- android:layout_marginLeft="@dimen/margin_medium_and_half"
- android:layout_marginRight="@dimen/margin_medium_and_half"
- android:layout_marginTop="@dimen/margin_medium"
+ android:layout_marginBottom="@dimen/margin_base_plus"
+ android:layout_marginLeft="@dimen/margin_base_plus"
+ android:layout_marginRight="@dimen/margin_base_plus"
+ android:layout_marginTop="@dimen/margin_base"
android:text="@string/rating_tap_star"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
diff --git a/android/res/layout/fragment_color_grid.xml b/android/res/layout/fragment_color_grid.xml
index 2de2931de4..46308b5cca 100644
--- a/android/res/layout/fragment_color_grid.xml
+++ b/android/res/layout/fragment_color_grid.xml
@@ -3,6 +3,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingTop="@dimen/margin_small"
+ android:paddingTop="@dimen/margin_half"
android:gravity="center"
android:numColumns="4"/>
diff --git a/android/res/layout/fragment_direction.xml b/android/res/layout/fragment_direction.xml
index 3bed9ce2af..614c74de35 100644
--- a/android/res/layout/fragment_direction.xml
+++ b/android/res/layout/fragment_direction.xml
@@ -32,8 +32,8 @@
android:layout_below="@id/tv__title"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/margin_direction_small"
- android:layout_marginLeft="@dimen/margin_medium_and_half"
- android:layout_marginRight="@dimen/margin_medium_and_half"
+ android:layout_marginLeft="@dimen/margin_base_plus"
+ android:layout_marginRight="@dimen/margin_base_plus"
android:textColor="@color/semitransparent_white"
android:textSize="@dimen/text_direction_subtitle"/>
diff --git a/android/res/layout/fragment_downloader.xml b/android/res/layout/fragment_downloader.xml
index ddadc6ddfd..2aee12aadd 100644
--- a/android/res/layout/fragment_downloader.xml
+++ b/android/res/layout/fragment_downloader.xml
@@ -18,7 +18,7 @@
android:layout_gravity="right"
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
- android:padding="@dimen/margin_small"
+ android:padding="@dimen/margin_half"
android:text="@string/downloader_update_all"
android:textAppearance="@style/MwmTextAppearance.Toolbar.Button"/>
diff --git a/android/res/layout/fragment_edit_bookmark.xml b/android/res/layout/fragment_edit_bookmark.xml
index 97f6efceb1..ae4d262f4a 100644
--- a/android/res/layout/fragment_edit_bookmark.xml
+++ b/android/res/layout/fragment_edit_bookmark.xml
@@ -19,7 +19,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:gravity="center_vertical"
- android:padding="@dimen/margin_small"
+ android:padding="@dimen/margin_half"
android:text="@string/save"
android:textAppearance="@style/MwmTextAppearance.Toolbar.Button"/>
diff --git a/android/res/layout/fragment_edit_description.xml b/android/res/layout/fragment_edit_description.xml
index 93e541c7c2..182fbbe7de 100644
--- a/android/res/layout/fragment_edit_description.xml
+++ b/android/res/layout/fragment_edit_description.xml
@@ -19,7 +19,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:gravity="center_vertical"
- android:padding="@dimen/margin_small"
+ android:padding="@dimen/margin_half"
android:text="@string/save"
android:textAppearance="@style/MwmTextAppearance.Toolbar.Button"/>
@@ -29,8 +29,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/toolbar"
- android:paddingLeft="@dimen/margin_medium"
- android:paddingRight="@dimen/margin_medium">
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingRight="@dimen/margin_base">
diff --git a/android/res/layout/fragment_google_plus_dialog.xml b/android/res/layout/fragment_google_plus_dialog.xml
index 09a3ed479a..1be9412d68 100644
--- a/android/res/layout/fragment_google_plus_dialog.xml
+++ b/android/res/layout/fragment_google_plus_dialog.xml
@@ -9,7 +9,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:padding="@dimen/margin_medium"
+ android:padding="@dimen/margin_base"
android:src="@drawable/ic_launcher"/>
@@ -39,7 +39,7 @@
xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="@dimen/margin_small"
+ android:layout_margin="@dimen/margin_half"
plus:annotation="inline"
plus:size="normal"/>
diff --git a/android/res/layout/item_bookmark.xml b/android/res/layout/item_bookmark.xml
index 3d8d4029b6..a82c5ff6bb 100644
--- a/android/res/layout/item_bookmark.xml
+++ b/android/res/layout/item_bookmark.xml
@@ -9,8 +9,8 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/margin_medium"
- android:layout_marginRight="@dimen/margin_medium"/>
+ android:layout_marginLeft="@dimen/margin_base"
+ android:layout_marginRight="@dimen/margin_base"/>
\ No newline at end of file
diff --git a/android/res/layout/item_bookmark_category.xml b/android/res/layout/item_bookmark_category.xml
index 2c45b77140..ee6bed865a 100644
--- a/android/res/layout/item_bookmark_category.xml
+++ b/android/res/layout/item_bookmark_category.xml
@@ -4,8 +4,8 @@
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="@dimen/height_item_oneline"
- android:paddingLeft="@dimen/margin_medium"
- android:paddingRight="@dimen/margin_medium">
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingRight="@dimen/margin_base">
diff --git a/android/res/layout/item_bookmark_set_chooser.xml b/android/res/layout/item_bookmark_set_chooser.xml
index 0544b3b3bd..2ecd7a6c57 100644
--- a/android/res/layout/item_bookmark_set_chooser.xml
+++ b/android/res/layout/item_bookmark_set_chooser.xml
@@ -5,8 +5,8 @@
android:layout_height="48dp"
android:gravity="center_vertical"
android:orientation="horizontal"
- android:paddingLeft="@dimen/margin_medium"
- android:paddingRight="@dimen/margin_medium">
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingRight="@dimen/margin_base">
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingRight="@dimen/margin_base">
\ No newline at end of file
diff --git a/android/res/layout/item_search.xml b/android/res/layout/item_search.xml
index bfdf15fab8..e88e177200 100644
--- a/android/res/layout/item_search.xml
+++ b/android/res/layout/item_search.xml
@@ -7,16 +7,16 @@
android:gravity="top"
android:minHeight="@dimen/search_item_height"
android:orientation="horizontal"
- android:paddingBottom="@dimen/margin_medium"
- android:paddingLeft="@dimen/margin_medium"
- android:paddingRight="@dimen/margin_medium"
- android:paddingTop="@dimen/margin_medium">
+ android:paddingBottom="@dimen/margin_base"
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingRight="@dimen/margin_base"
+ android:paddingTop="@dimen/margin_base">
diff --git a/android/res/layout/item_search_category.xml b/android/res/layout/item_search_category.xml
index fb0c9f738d..064125db8e 100644
--- a/android/res/layout/item_search_category.xml
+++ b/android/res/layout/item_search_category.xml
@@ -4,8 +4,8 @@
android:layout_height="@dimen/search_item_height"
android:gravity="center_vertical"
android:orientation="horizontal"
- android:paddingLeft="@dimen/margin_medium"
- android:paddingRight="@dimen/margin_medium">
+ android:paddingLeft="@dimen/margin_base"
+ android:paddingRight="@dimen/margin_base">
diff --git a/android/res/layout/item_search_message.xml b/android/res/layout/item_search_message.xml
index c39182e778..b46c1192a9 100644
--- a/android/res/layout/item_search_message.xml
+++ b/android/res/layout/item_search_message.xml
@@ -6,7 +6,7 @@
android:gravity="center_vertical"
android:minHeight="@dimen/search_item_height"
android:orientation="horizontal"
- android:padding="@dimen/margin_medium">
+ android:padding="@dimen/margin_base">
+ android:layout_marginLeft="@dimen/margin_base"
+ android:layout_marginRight="@dimen/margin_base"/>
\ No newline at end of file
diff --git a/android/res/layout/map_navigation_buttons.xml b/android/res/layout/map_navigation_buttons.xml
index 04ba87c19a..ef6ec4a5e0 100644
--- a/android/res/layout/map_navigation_buttons.xml
+++ b/android/res/layout/map_navigation_buttons.xml
@@ -3,18 +3,20 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/margin_small">
+ android:padding="@dimen/margin_quarter">
diff --git a/android/res/layout/map_routing_box.xml b/android/res/layout/map_routing_box.xml
index 55d9547427..83ede712cb 100644
--- a/android/res/layout/map_routing_box.xml
+++ b/android/res/layout/map_routing_box.xml
@@ -45,7 +45,7 @@
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="?attr/clickableBackground"
- android:padding="@dimen/margin_medium"
+ android:padding="@dimen/margin_base"
android:scaleType="center"
android:src="@drawable/ic_close_routing"/>
diff --git a/android/res/layout/map_turn_instructions.xml b/android/res/layout/map_turn_instructions.xml
index 21259b1425..3eee3f6051 100644
--- a/android/res/layout/map_turn_instructions.xml
+++ b/android/res/layout/map_turn_instructions.xml
@@ -11,7 +11,7 @@
style="@style/TextAppearance.AppCompat.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/margin_medium"/>
+ android:layout_marginLeft="@dimen/margin_base"/>
+ android:layout_marginBottom="@dimen/margin_half"
+ android:layout_marginTop="@dimen/margin_base">
@@ -72,7 +72,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@id/tv__bookmark_group"
- android:layout_marginTop="@dimen/margin_tiny"
+ android:layout_marginTop="@dimen/margin_quarter"
android:layout_toLeftOf="@+id/iv__bookmark_color"
android:background="?attr/dividerHorizontal"/>
@@ -84,7 +84,7 @@
android:layout_centerVertical="true"
android:layout_marginRight="-8dp"
android:background="?attr/clickableBackground"
- android:padding="@dimen/margin_small"
+ android:padding="@dimen/margin_half"
android:src="@drawable/color_picker_red_on"/>
@@ -94,8 +94,8 @@
android:layout_height="wrap_content"
android:layout_alignLeft="@id/layout__bookmark_name"
android:layout_below="@id/ll__group"
- android:layout_marginBottom="@dimen/margin_small"
- android:layout_marginTop="@dimen/margin_medium"
+ android:layout_marginBottom="@dimen/margin_half"
+ android:layout_marginTop="@dimen/margin_base"
android:clickable="true"
android:lineSpacingMultiplier="1.67"
android:text="@string/description"
@@ -114,7 +114,7 @@
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@id/wv__description"
- android:layout_marginRight="@dimen/margin_medium"
+ android:layout_marginRight="@dimen/margin_base"
android:background="?attr/selectableItemBackground"
android:text="@string/edit"
android:textAppearance="@style/MwmTextAppearance.Button"/>
diff --git a/android/res/layout/place_page_buttons.xml b/android/res/layout/place_page_buttons.xml
index e97ee3c305..40da398acd 100644
--- a/android/res/layout/place_page_buttons.xml
+++ b/android/res/layout/place_page_buttons.xml
@@ -4,14 +4,14 @@
android:layout_height="wrap_content"
android:background="@color/bg_top_panels"
android:orientation="vertical"
- android:paddingLeft="@dimen/margin_small_and_half"
- android:paddingRight="@dimen/margin_small_and_half">
+ android:paddingLeft="@dimen/margin_half_plus"
+ android:paddingRight="@dimen/margin_half_plus">
+ android:paddingLeft="@dimen/margin_half_plus"
+ android:paddingRight="@dimen/margin_half_plus">
+ android:paddingLeft="@dimen/margin_base_plus"
+ android:paddingRight="@dimen/margin_base_plus"
+ android:paddingTop="@dimen/margin_base">
@@ -35,7 +35,7 @@
+ android:layout_marginBottom="@dimen/margin_half"/>
@@ -16,7 +16,7 @@
android:id="@+id/iv__place_email"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/margin_large"
+ android:layout_marginRight="@dimen/margin_double"
android:src="@drawable/ic_email"/>
@@ -16,7 +16,7 @@
android:id="@+id/iv__place_operator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/margin_large"
+ android:layout_marginRight="@dimen/margin_double"
android:src="@drawable/ic_bank_operator"/>
@@ -16,7 +16,7 @@
android:id="@+id/iv__place_phone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/margin_large"
+ android:layout_marginRight="@dimen/margin_double"
android:src="@drawable/ic_text_phone"/>
@@ -40,7 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/tv__subtitle"
- android:layout_marginBottom="@dimen/margin_micro"
+ android:layout_marginBottom="@dimen/margin_eighth"
android:layout_toRightOf="@id/tv__subtitle"
android:numStars="5"
android:progressDrawable="@drawable/rating_bar_stars"
@@ -74,7 +74,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="-8dp"
android:clickable="true"
- android:padding="@dimen/margin_small"/>
+ android:padding="@dimen/margin_half"/>
diff --git a/android/res/layout/place_page_schedule.xml b/android/res/layout/place_page_schedule.xml
index c1ffc3b9b1..3160168cde 100644
--- a/android/res/layout/place_page_schedule.xml
+++ b/android/res/layout/place_page_schedule.xml
@@ -7,8 +7,8 @@
android:background="?attr/clickableBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
- android:paddingBottom="@dimen/margin_small"
- android:paddingTop="@dimen/margin_small"
+ android:paddingBottom="@dimen/margin_half"
+ android:paddingTop="@dimen/margin_half"
android:tag="schedule"
android:visibility="gone">
@@ -16,7 +16,7 @@
android:id="@+id/iv__place_schedule"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/margin_large"
+ android:layout_marginRight="@dimen/margin_double"
android:src="@drawable/ic_text_worktime"/>
@@ -16,7 +16,7 @@
android:id="@+id/iv__place_website"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="@dimen/margin_large"
+ android:layout_marginRight="@dimen/margin_double"
android:src="@drawable/ic_text_link"/>
@@ -29,7 +29,7 @@
style="@style/Widget.AppCompat.ProgressBar"
android:layout_width="@dimen/routing_progress_size"
android:layout_height="@dimen/routing_progress_size"
- android:layout_marginRight="@dimen/margin_small"
+ android:layout_marginRight="@dimen/margin_half"
android:layout_weight="0"
android:background="@android:color/transparent"/>
@@ -41,7 +41,7 @@
android:layout_weight="0"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@null"
- android:padding="@dimen/margin_medium"
+ android:padding="@dimen/margin_base"
android:src="@drawable/ic_close_w"/>
diff --git a/android/res/values/dimens.xml b/android/res/values/dimens.xml
index ba7e53b454..ad1d003838 100644
--- a/android/res/values/dimens.xml
+++ b/android/res/values/dimens.xml
@@ -3,54 +3,34 @@
40dp
- 2dp
- 4dp
- 6dp
- 8dp
- 12dp
- 16dp
- 24dp
- 32dp
- 48dp
- 64dp
+ 2dp
+ 4dp
+ 6dp
+ 8dp
+ 12dp
+ 16dp
+ 24dp
+ 32dp
+ 48dp
+ 64dp
- -2dp
- -4dp
- -6dp
- -8dp
- -12dp
- -16dp
- -32dp
-
-
- 4dp
- 8dp
- 12dp
- 16dp
- 24dp
- 32dp
- 40dp
- 48dp
- 56dp
- 64dp
- 80dp
+ -2dp
+ -4dp
+ -6dp
+ -8dp
+ -12dp
+ -16dp
+ -32dp
320dp
- 56dp
56dp
56dp
56dp
- 46dp
- 113dp
- 46dp
-
48dp
40dp
-48dp
- 6dp
- 16dp
55dp
51dp
@@ -70,7 +50,7 @@
250dp
- 104dp
+ 120dp
10dp
40dp
75dp
diff --git a/android/res/values/styles.xml b/android/res/values/styles.xml
index 8613d8fe90..4042df8d77 100644
--- a/android/res/values/styles.xml
+++ b/android/res/values/styles.xml
@@ -137,7 +137,7 @@
- wrap_content
- 200dp
- 1
- - @dimen/margin_small
+ - @dimen/margin_half
- right
- true
diff --git a/android/res/values/styles_place_page.xml b/android/res/values/styles_place_page.xml
index 13479576d6..08f3ce6d3b 100644
--- a/android/res/values/styles_place_page.xml
+++ b/android/res/values/styles_place_page.xml
@@ -6,10 +6,10 @@
- 56dp
- center_vertical
- horizontal
- - @dimen/margin_small_and_half
- - @dimen/margin_medium_and_half
- - @dimen/margin_medium_and_half
- - @dimen/margin_medium_and_half
+ - @dimen/margin_half_plus
+ - @dimen/margin_base_plus
+ - @dimen/margin_base_plus
+ - @dimen/margin_base_plus
@@ -25,8 +25,8 @@
- 24dp
- 0dp
- 1
- - @dimen/margin_medium
- - @dimen/margin_medium
+ - @dimen/margin_base
+ - @dimen/margin_base
- center
@@ -36,9 +36,9 @@
- center_horizontal
- 1
- vertical
- - @dimen/margin_small
+ - @dimen/margin_half
- ?attr/clickableBackground
- - @dimen/margin_small
+ - @dimen/margin_half
- center_horizontal
\ No newline at end of file