diff --git a/OsmAnd/res/layout/expandable_list.xml b/OsmAnd/res/layout/expandable_list.xml index 79266d46b4..952f2196f5 100644 --- a/OsmAnd/res/layout/expandable_list.xml +++ b/OsmAnd/res/layout/expandable_list.xml @@ -20,6 +20,7 @@ style="@style/OsmandListView" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:background="?attr/expandable_list_background" android:layout_marginLeft="0dp" android:layout_marginRight="0dp" android:layout_marginTop="0dp" diff --git a/OsmAnd/res/layout/expandable_list_item_category.xml b/OsmAnd/res/layout/expandable_list_item_category.xml index 6c6a9c13f5..b50ecbe710 100644 --- a/OsmAnd/res/layout/expandable_list_item_category.xml +++ b/OsmAnd/res/layout/expandable_list_item_category.xml @@ -1,43 +1,34 @@ + xmlns:tools="http://schemas.android.com/tools" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="@dimen/list_header_height" + android:paddingLeft="@dimen/list_header_padding"> - + - - - - - - + + \ No newline at end of file diff --git a/OsmAnd/res/layout/expandable_list_item_category_btn.xml b/OsmAnd/res/layout/expandable_list_item_category_btn.xml index 343423d46f..5cdce8360a 100644 --- a/OsmAnd/res/layout/expandable_list_item_category_btn.xml +++ b/OsmAnd/res/layout/expandable_list_item_category_btn.xml @@ -1,45 +1,35 @@ + xmlns:tools="http://schemas.android.com/tools" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="@dimen/list_header_height" + android:paddingLeft="@dimen/list_header_padding"> - - - - - - - - - + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/favourites_list_item.xml b/OsmAnd/res/layout/favourites_list_item.xml index 246b24c3c4..d265123266 100644 --- a/OsmAnd/res/layout/favourites_list_item.xml +++ b/OsmAnd/res/layout/favourites_list_item.xml @@ -6,18 +6,18 @@ android:background="?attr/expandable_list_item_background" android:minHeight="@dimen/list_item_height" android:orientation="horizontal" - android:paddingBottom="5dp" android:paddingLeft="@dimen/list_content_padding" - android:paddingRight="@dimen/list_content_padding" - android:paddingTop="5dp"> + android:paddingRight="@dimen/list_content_padding"> + android:visibility="gone" + tools:visibility="visible"/> - + android:orientation="horizontal" + android:paddingLeft="@dimen/list_content_padding" + android:paddingRight="@dimen/list_content_padding"> - + + + android:orientation="vertical" + android:paddingRight="3dp"> - + - + - + - + - + - + \ No newline at end of file diff --git a/OsmAnd/res/values/attrs.xml b/OsmAnd/res/values/attrs.xml index 3f6266e4d8..c436fe633f 100644 --- a/OsmAnd/res/values/attrs.xml +++ b/OsmAnd/res/values/attrs.xml @@ -31,6 +31,8 @@ + + diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index a065c2a553..af1706e18d 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -1,7 +1,10 @@ - #292f33 + #292f33 + #475259 @color/color_white + #333b40 + #39464d #CC080B0D @@ -108,7 +111,7 @@ #ffffff #ffffff - #333b40 + #dbdbdb #2d3438 diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 2c9ad066f5..5599a81812 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -26,10 +26,17 @@ 8dp 48dp 50dp + 40dp + 16dp + 10dp + 12dp + 8dp 48dp 18dp + 13dp + 14sp 12sp 14sp 16sp diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 33f958587e..0e7edd36e8 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -161,6 +161,8 @@ @drawable/ic_world_globe_light #727272 @color/expandable_list_item_light + @color/color_white + @drawable/ic_overflow_menu_light + @color/list_item_background_dark + @color/list_background_dark + @drawable/ic_overflow_menu_dark +