From e7865effac369b57eb04cd5bf5cee27bc4e0bb36 Mon Sep 17 00:00:00 2001 From: Bars107 Date: Tue, 17 Feb 2015 15:07:17 +0200 Subject: [PATCH] DownloadInex updated ui --- .../res/layout/download_index_list_item.xml | 11 ++++++++ .../layout/expandable_list_item_category.xml | 4 +-- OsmAnd/res/values/styles.xml | 4 +-- .../plus/download/DownloadIndexAdapter.java | 27 ++++++++++++++++--- 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/OsmAnd/res/layout/download_index_list_item.xml b/OsmAnd/res/layout/download_index_list_item.xml index 8c1d06da96..bff2270339 100644 --- a/OsmAnd/res/layout/download_index_list_item.xml +++ b/OsmAnd/res/layout/download_index_list_item.xml @@ -54,6 +54,17 @@ android:textSize="@dimen/download_descr_text_size" tools:text="@string/lorem_ipsum" android:maxLines="1"/> + + + diff --git a/OsmAnd/res/layout/expandable_list_item_category.xml b/OsmAnd/res/layout/expandable_list_item_category.xml index 4da379f717..1dfe7cf19e 100644 --- a/OsmAnd/res/layout/expandable_list_item_category.xml +++ b/OsmAnd/res/layout/expandable_list_item_category.xml @@ -3,7 +3,8 @@ xmlns:tools="http://schemas.android.com/tools" android:orientation="horizontal" android:layout_width="fill_parent" - android:layout_height="@dimen/list_header_height" + android:layout_height="wrap_content" + android:minHeight="@dimen/list_header_height" android:paddingLeft="@dimen/list_header_padding"> diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 2c7a89f958..85ef97eb02 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -164,7 +164,7 @@ @color/expandable_list_item_light @color/color_white @drawable/ic_overflow_menu_light - @drawable/size_progressbar_dark + @drawable/size_progressbar_light