Updated list sizes

This commit is contained in:
Denis 2015-02-09 14:43:37 +02:00
parent 47c6b88ecf
commit 92d51d7d06
11 changed files with 36 additions and 14 deletions

View file

@ -1,22 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height">
<TextView
android:id="@+id/download_tag"
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="19sp"></TextView>
android:textSize="19sp"/>
<TextView
android:id="@+id/download_descr"
android:layout_marginLeft="3dp"
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_width="105dp"
android:layout_height="wrap_content"
android:textSize="19sp"></TextView>
android:textSize="19sp"/>
</LinearLayout>

View file

@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:background="?attr/expandable_list_item_background"
android:layout_width="fill_parent"
android:layout_height="@dimen/list_item_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:paddingBottom="1dp"
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"

View file

@ -2,12 +2,14 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal">
<CheckBox
android:id="@+id/filter_poi_check"
android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@ -16,7 +18,8 @@
android:id="@+id/filter_poi_label"
style="@style/ListText"
android:textColor="?android:textColorPrimary"
android:layout_width="fill_parent"
android:layout_gravity="center_vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"

View file

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="@dimen/list_item_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal"
android:paddingBottom="5dp"
android:paddingLeft="@dimen/list_content_padding"

View file

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="@dimen/list_item_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="vertical"
android:background="?attr/expandable_list_item_background"
android:paddingLeft="8dp"

View file

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="@dimen/list_item_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal"
android:paddingBottom="4dp"
android:paddingLeft="@dimen/list_content_padding"

View file

@ -14,6 +14,8 @@
android:id="@+id/clearAll"
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginRight="@dimen/list_content_padding"
android:background="?attr/downloadButtonBackground"
android:textColor="?attr/pstsTextColor"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>

View file

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:paddingLeft="@dimen/list_content_padding"
@ -12,6 +13,7 @@
<TextView
android:id="@+id/label"
style="@style/ListText"
android:layout_gravity="center_vertical"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="3dp"
@ -24,6 +26,7 @@
<ImageButton
android:id="@+id/remove"
android:contentDescription="@string/default_buttons_delete"
android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/reset_image"

View file

@ -1,14 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:paddingBottom="5dp"
android:paddingTop="5dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="center_vertical"
android:paddingLeft="6dp"
android:paddingRight="3dp">
@ -28,6 +30,7 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_gravity="center_vertical"
android:paddingRight="3dp">
<TextView

View file

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal"
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
@ -12,6 +13,7 @@
<ImageView
android:id="@+id/folder_icon"
android:layout_width="37dip"
android:layout_gravity="center_vertical"
android:layout_height="fill_parent"
android:paddingLeft="8dp"
android:paddingRight="8dp"
@ -20,6 +22,7 @@
<TextView
android:id="@+id/folder_label"
style="@style/ListText"
android:layout_gravity="center_vertical"
android:textColor="?android:textColorPrimary"
android:layout_width="0dp"
android:layout_height="wrap_content"
@ -31,6 +34,7 @@
android:id="@+id/folder_edit_icon"
android:layout_width="37dip"
android:layout_height="fill_parent"
android:layout_gravity="center_vertical"
android:paddingLeft="4dp"
android:paddingRight="8dp"
android:paddingTop="2dp"

View file

@ -25,7 +25,7 @@
<dimen name="list_content_padding">16dp</dimen>
<dimen name="list_header_padding">8dp</dimen>
<dimen name="tab_height">48dp</dimen>
<dimen name="list_item_height">48dp</dimen>
<dimen name="list_item_height">50dp</dimen>
<!-- TextSizes -->
<dimen name="showAllButtonTextSize">12sp</dimen>