From ccbb4e262573edf0f86d24c6c51aa09da3bdd8fe Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 11 Feb 2015 15:18:22 +0200 Subject: [PATCH] Styled downloads view --- .../res/layout/download_index_list_item.xml | 60 ++++++++---- OsmAnd/res/layout/favourite_edit_dialog.xml | 97 ++++++++++--------- OsmAnd/res/layout/search_history.xml | 3 +- OsmAnd/res/values/sizes.xml | 3 + .../activities/search/SearchPOIActivity.java | 4 +- .../plus/download/DownloadIndexAdapter.java | 55 ++++------- 6 files changed, 116 insertions(+), 106 deletions(-) diff --git a/OsmAnd/res/layout/download_index_list_item.xml b/OsmAnd/res/layout/download_index_list_item.xml index 9d93e4607f..527368339d 100644 --- a/OsmAnd/res/layout/download_index_list_item.xml +++ b/OsmAnd/res/layout/download_index_list_item.xml @@ -1,9 +1,9 @@ - - + android:layout_marginRight="@dimen/favorites_icon_right_margin" + android:focusable="false"/> - + android:orientation="vertical"> + + + + + + + + + + diff --git a/OsmAnd/res/layout/favourite_edit_dialog.xml b/OsmAnd/res/layout/favourite_edit_dialog.xml index 3ee8fc67dc..16f1630b63 100644 --- a/OsmAnd/res/layout/favourite_edit_dialog.xml +++ b/OsmAnd/res/layout/favourite_edit_dialog.xml @@ -1,57 +1,58 @@ - + - - - - - - - - + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/dialog_elements_vertical_margin" + android:text="@string/favourites_edit_dialog_name"/> - + android:id="@+id/Name" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:selectAllOnFocus="true"/> - - + - - - + + + + + + + + diff --git a/OsmAnd/res/layout/search_history.xml b/OsmAnd/res/layout/search_history.xml index 95bfdd2643..d5eb46208d 100644 --- a/OsmAnd/res/layout/search_history.xml +++ b/OsmAnd/res/layout/search_history.xml @@ -7,7 +7,8 @@