From 708e80f63c19abc1f65de738e36ba95e160f888c Mon Sep 17 00:00:00 2001 From: Debeet Date: Fri, 12 Jul 2013 02:40:43 +0200 Subject: [PATCH] Interface improvements --- .../res/layout/download_build_list_item.xml | 2 +- OsmAnd/res/layout/download_index.xml | 3 +- .../res/layout/download_index_list_item.xml | 10 +++--- .../layout/expandable_list_item_category.xml | 12 ++++--- OsmAnd/res/layout/list_menu_item.xml | 3 +- OsmAnd/res/layout/local_index.xml | 2 +- OsmAnd/res/layout/local_index_list_item.xml | 31 ++++++++-------- OsmAnd/res/layout/plugins.xml | 2 +- OsmAnd/res/layout/plugins_list_item.xml | 14 ++++++-- OsmAnd/res/layout/searchbyname_list.xml | 4 ++- OsmAnd/res/layout/searchpoi_list.xml | 35 +++++++++++++------ OsmAnd/res/layout/searchpoifolder_list.xml | 4 ++- OsmAnd/res/values/styles.xml | 4 +-- 13 files changed, 78 insertions(+), 48 deletions(-) diff --git a/OsmAnd/res/layout/download_build_list_item.xml b/OsmAnd/res/layout/download_build_list_item.xml index c1d26577e9..51d8431deb 100644 --- a/OsmAnd/res/layout/download_build_list_item.xml +++ b/OsmAnd/res/layout/download_build_list_item.xml @@ -8,4 +8,4 @@ - + \ No newline at end of file diff --git a/OsmAnd/res/layout/download_index.xml b/OsmAnd/res/layout/download_index.xml index bb4d8cc175..9c35e62700 100644 --- a/OsmAnd/res/layout/download_index.xml +++ b/OsmAnd/res/layout/download_index.xml @@ -83,8 +83,9 @@ android:layout_height="wrap_content" android:layout_marginLeft="3dp" android:layout_marginRight="3dp" + android:layout_marginBottom="6dp" android:hint="@string/download_type_to_filter" - android:inputType="text" + android:inputType="textFilter" android:maxLines="1" /> + android:layout_height="wrap_content" android:paddingTop="1dp" android:paddingBottom="1dp" android:paddingRight="8dp"> - + - + diff --git a/OsmAnd/res/layout/expandable_list_item_category.xml b/OsmAnd/res/layout/expandable_list_item_category.xml index 97b3e96114..f1c5aa1926 100644 --- a/OsmAnd/res/layout/expandable_list_item_category.xml +++ b/OsmAnd/res/layout/expandable_list_item_category.xml @@ -2,25 +2,29 @@ + android:background="?attr/expandable_category_color" + android:paddingBottom="5dp" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:paddingTop="5dp" > + android:textSize="18sp"> - + android:background="@color/color_white"> - + - - - + + + + + + - - - - - - + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/plugins.xml b/OsmAnd/res/layout/plugins.xml index 7c6c5c3e83..8ad8bd0085 100644 --- a/OsmAnd/res/layout/plugins.xml +++ b/OsmAnd/res/layout/plugins.xml @@ -7,5 +7,5 @@ + android:layout_marginTop="10dp"> diff --git a/OsmAnd/res/layout/plugins_list_item.xml b/OsmAnd/res/layout/plugins_list_item.xml index 5f0cdf134c..57b31e2d77 100644 --- a/OsmAnd/res/layout/plugins_list_item.xml +++ b/OsmAnd/res/layout/plugins_list_item.xml @@ -5,6 +5,9 @@ android:orientation="vertical" > + style="@style/ListText" android:text="@string/extra_settings" + android:paddingRight="10dp"> + android:textSize="14sp" + android:paddingRight="10dp" + android:paddingLeft="10dp" + android:paddingTop="5dp" + android:paddingBottom="5dp"> diff --git a/OsmAnd/res/layout/searchbyname_list.xml b/OsmAnd/res/layout/searchbyname_list.xml index 2cae6296bf..a19f85cf6a 100644 --- a/OsmAnd/res/layout/searchbyname_list.xml +++ b/OsmAnd/res/layout/searchbyname_list.xml @@ -1,7 +1,9 @@ + android:layout_height="fill_parent" style="@style/ListText"/> diff --git a/OsmAnd/res/layout/searchpoi_list.xml b/OsmAnd/res/layout/searchpoi_list.xml index 8ca65f0569..4f405a0890 100644 --- a/OsmAnd/res/layout/searchpoi_list.xml +++ b/OsmAnd/res/layout/searchpoi_list.xml @@ -1,16 +1,31 @@ - - - + android:paddingTop="6dp" + android:paddingBottom="6dp" + > - + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/searchpoifolder_list.xml b/OsmAnd/res/layout/searchpoifolder_list.xml index a892ab79c7..2684dff6d8 100644 --- a/OsmAnd/res/layout/searchpoifolder_list.xml +++ b/OsmAnd/res/layout/searchpoifolder_list.xml @@ -1,13 +1,15 @@ + android:layout_height="wrap_content" style="@style/ListText"/> - 25sp + 18sp