diff --git a/OsmAnd/res/layout/dashboard_toolbar.xml b/OsmAnd/res/layout/dashboard_toolbar.xml index 348a1e4307..8c0eed7069 100644 --- a/OsmAnd/res/layout/dashboard_toolbar.xml +++ b/OsmAnd/res/layout/dashboard_toolbar.xml @@ -10,90 +10,106 @@ app:contentInsetLeft="4dp" app:contentInsetStart="4dp"> - - - - - - - + android:gravity="center_vertical" + android:orientation="horizontal"> - + - + + - + - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/expandable_list_item_category.xml b/OsmAnd/res/layout/expandable_list_item_category.xml index 4343a05ea3..06d9606bca 100644 --- a/OsmAnd/res/layout/expandable_list_item_category.xml +++ b/OsmAnd/res/layout/expandable_list_item_category.xml @@ -19,9 +19,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingLeft="@dimen/list_content_padding" + android:paddingStart="@dimen/list_content_padding" + android:paddingRight="0dp" + android:paddingEnd="0dp" android:minHeight="@dimen/list_item_height" - android:background="?attr/expandable_list_item_background" - android:paddingStart="@dimen/list_content_padding"> + android:background="?attr/expandable_list_item_background"> + android:layout_marginStart="@dimen/list_content_padding" /> + android:layout_marginEnd="4dp" /> + android:layout_marginEnd="@dimen/list_content_padding" /> diff --git a/OsmAnd/res/layout/fragment_search_list.xml b/OsmAnd/res/layout/fragment_search_list.xml index 89424bd151..bc0eea6acc 100644 --- a/OsmAnd/res/layout/fragment_search_list.xml +++ b/OsmAnd/res/layout/fragment_search_list.xml @@ -24,12 +24,12 @@ android:id="@+id/searchEditText" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginLeft="16dp" + android:layout_marginLeft="@dimen/content_padding" + android:layout_marginStart="@dimen/content_padding" android:background="@null" android:gravity="center_vertical" android:lines="1" - tools:text="Search request" - android:layout_marginStart="16dp" /> + tools:text="Search request" /> + android:paddingStart="@dimen/dialog_content_margin" + android:paddingRight="0dp" + android:paddingEnd="0dp" + android:gravity="center_vertical"> + android:focusableInTouchMode="false" /> + android:orientation="vertical"> @@ -77,8 +83,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/gpx_small_icon_margin" - android:src="@drawable/ic_small_distance" - android:layout_marginEnd="@dimen/gpx_small_icon_margin" /> + android:layout_marginEnd="@dimen/gpx_small_icon_margin" + android:src="@drawable/ic_small_distance" /> + android:layout_marginEnd="@dimen/gpx_small_icon_margin" + android:src="@drawable/ic_small_point" /> + android:layout_marginEnd="@dimen/gpx_small_icon_margin" + android:src="@drawable/ic_small_time" /> + android:visibility="gone" /> + android:layout_marginRight="@dimen/list_content_padding" + android:layout_marginEnd="@dimen/list_content_padding" + android:gravity="center_vertical" /> + android:visibility="gone" /> diff --git a/OsmAnd/res/layout/list_menu_item_native.xml b/OsmAnd/res/layout/list_menu_item_native.xml index 40a5860f6f..1a484146da 100644 --- a/OsmAnd/res/layout/list_menu_item_native.xml +++ b/OsmAnd/res/layout/list_menu_item_native.xml @@ -13,43 +13,62 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginLeft="24dp" + android:layout_marginStart="24dp" android:gravity="center" android:visibility="gone" - tools:visibility="visible" - android:layout_marginStart="24dp" /> + tools:visibility="visible" /> - + android:layout_marginTop="@dimen/content_padding_small" + android:layout_marginBottom="@dimen/content_padding_small" + android:layout_weight="1"> - + - - + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/local_index_list_item.xml b/OsmAnd/res/layout/local_index_list_item.xml index ab39d8fb66..1d3043fb0a 100644 --- a/OsmAnd/res/layout/local_index_list_item.xml +++ b/OsmAnd/res/layout/local_index_list_item.xml @@ -1,34 +1,36 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="@dimen/list_content_padding" + android:paddingStart="@dimen/list_content_padding" + android:paddingRight="0dp" + android:paddingEnd="0dp" + android:background="?attr/expandable_list_item_background" + android:descendantFocusability="blocksDescendants" + android:minHeight="@dimen/list_item_height" + android:orientation="horizontal"> + android:visibility="gone" /> + android:src="@drawable/ic_gpx_track" /> + tools:text="Bangladesh" /> + tools:text="12.34 Mb * 10/4/2015" /> @@ -67,11 +69,11 @@ + android:src="@drawable/ic_overflow_menu_white" /> \ No newline at end of file diff --git a/OsmAnd/res/layout/main_menu_drawer_btn_configure_profile.xml b/OsmAnd/res/layout/main_menu_drawer_btn_configure_profile.xml index 1ab1910af6..c3efbab785 100644 --- a/OsmAnd/res/layout/main_menu_drawer_btn_configure_profile.xml +++ b/OsmAnd/res/layout/main_menu_drawer_btn_configure_profile.xml @@ -43,9 +43,9 @@ + android:paddingStart="@dimen/context_menu_padding_margin_default" + android:paddingEnd="@dimen/context_menu_padding_margin_default" + android:paddingTop="3dp"> + tools:src="@drawable/ic_action_opening_hour_16" /> + tools:visibility="visible"> + tools:visibility="visible"> + tools:visibility="visible"> + android:orientation="vertical"> + tools:textColor="?attr/contextMenuButtonColor" /> + tools:textColor="?attr/contextMenuButtonColor" /> diff --git a/OsmAnd/res/layout/order_poi_list_item.xml b/OsmAnd/res/layout/order_poi_list_item.xml index c3a56f7a2f..1fe14f3a31 100644 --- a/OsmAnd/res/layout/order_poi_list_item.xml +++ b/OsmAnd/res/layout/order_poi_list_item.xml @@ -51,7 +51,6 @@ android:paddingRight="@dimen/content_padding" android:paddingTop="@dimen/content_padding_half" android:paddingBottom="@dimen/content_padding_half" - android:singleLine="true" android:textColor="?android:textColorPrimary" android:textSize="@dimen/default_list_text_size" osmand:typeface="@string/font_roboto_regular" diff --git a/OsmAnd/res/layout/quick_action_add_dialog_item.xml b/OsmAnd/res/layout/quick_action_add_dialog_item.xml index 342f650b19..901a43ab45 100644 --- a/OsmAnd/res/layout/quick_action_add_dialog_item.xml +++ b/OsmAnd/res/layout/quick_action_add_dialog_item.xml @@ -8,10 +8,10 @@ android:minHeight="48dp" android:paddingRight="24dp" android:paddingLeft="24dp" - android:background="?attr/selectableItemBackground" - android:orientation="horizontal" android:paddingStart="24dp" - android:paddingEnd="24dp"> + android:paddingEnd="24dp" + android:background="?attr/selectableItemBackground" + android:orientation="horizontal"> + tools:text="Add marker" /> diff --git a/OsmAnd/res/layout/search_list_item.xml b/OsmAnd/res/layout/search_list_item.xml index f823df926c..cd0d0d6e87 100644 --- a/OsmAnd/res/layout/search_list_item.xml +++ b/OsmAnd/res/layout/search_list_item.xml @@ -58,11 +58,11 @@ android:layout_weight="1" android:ellipsize="end" android:maxLines="2" - android:paddingRight="16dp" + android:layout_marginRight="@dimen/content_padding" + android:layout_marginEnd="@dimen/content_padding" android:textColor="?android:textColorPrimary" android:textSize="@dimen/default_list_text_size" - tools:text="Amsterdam" - android:paddingEnd="16dp" /> + tools:text="Amsterdam" /> + android:paddingStart="24dp" + android:paddingRight="0dp" + android:paddingEnd="0dp" + android:orientation="vertical"> + android:layout_marginTop="@dimen/content_padding_half" + android:layout_marginRight="@dimen/content_padding_half" + android:layout_marginEnd="@dimen/content_padding_half" + android:orientation="horizontal"> + android:orientation="horizontal"> + android:layout_marginRight="@dimen/content_padding_half" + android:layout_marginEnd="@dimen/content_padding_half" + android:textAppearance="@style/TextAppearance.ListItemTitle" /> + android:paddingStart="@dimen/list_content_padding" + android:paddingRight="0dp" + android:paddingEnd="0dp">