From 05492d11712282a95813c3a307803339be22d8a9 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 6 Feb 2015 14:18:18 +0200 Subject: [PATCH] Updated expandable listview views --- .../res/layout/download_index_list_item.xml | 61 ++++++------ OsmAnd/res/layout/favourites_list_item.xml | 63 ++++++------ OsmAnd/res/layout/gpx_item_list_item.xml | 98 ++++++++++--------- OsmAnd/res/layout/local_index_list_item.xml | 97 ++++++++++-------- OsmAnd/res/values/sizes.xml | 1 + 5 files changed, 167 insertions(+), 153 deletions(-) diff --git a/OsmAnd/res/layout/download_index_list_item.xml b/OsmAnd/res/layout/download_index_list_item.xml index 3fbe8fc0f0..0a65440190 100644 --- a/OsmAnd/res/layout/download_index_list_item.xml +++ b/OsmAnd/res/layout/download_index_list_item.xml @@ -1,39 +1,36 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="fill_parent" + android:layout_height="@dimen/list_item_height" + android:paddingBottom="1dp" + android:paddingLeft="@dimen/list_content_padding" + android:paddingRight="@dimen/list_content_padding" + android:paddingTop="1dp"> - + - - + - - - + diff --git a/OsmAnd/res/layout/favourites_list_item.xml b/OsmAnd/res/layout/favourites_list_item.xml index 680507d7a8..2e18097cb3 100644 --- a/OsmAnd/res/layout/favourites_list_item.xml +++ b/OsmAnd/res/layout/favourites_list_item.xml @@ -1,43 +1,40 @@ + android:layout_width="fill_parent" + android:layout_height="@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:maxLines="1" + android:textColor="?android:textColorPrimary" + tools:text="@string/lorem_ipsum"/> \ No newline at end of file diff --git a/OsmAnd/res/layout/gpx_item_list_item.xml b/OsmAnd/res/layout/gpx_item_list_item.xml index 1b20a3f4ea..724d256b6c 100644 --- a/OsmAnd/res/layout/gpx_item_list_item.xml +++ b/OsmAnd/res/layout/gpx_item_list_item.xml @@ -1,56 +1,62 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="fill_parent" + android:layout_height="@dimen/list_item_height" + android:orientation="vertical" + android:paddingLeft="8dp" + android:paddingRight="8dp"> - + - + - + - - + + - - + + - + \ 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 8820cfba9f..4a567e89f9 100644 --- a/OsmAnd/res/layout/local_index_list_item.xml +++ b/OsmAnd/res/layout/local_index_list_item.xml @@ -1,52 +1,65 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="fill_parent" + android:layout_height="@dimen/list_item_height" + android:orientation="horizontal" + android:paddingBottom="4dp" + android:paddingLeft="@dimen/list_content_padding" + android:paddingRight="@dimen/list_content_padding" + android:paddingTop="4dp"> - + - + - - + - + + - - + + + + + + + + - \ No newline at end of file diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 1379f13e29..85288eaa29 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -25,6 +25,7 @@ 16dp 8dp 48dp + 48dp 12sp