give upload items as much vertical space as they need (wrap content)

This commit is contained in:
Luke Owncloud 2014-12-12 11:04:10 +01:00
parent 3fdb78d0c9
commit 0da591d585

View file

@ -3,11 +3,11 @@
android:id="@+id/ListItemLayout" android:id="@+id/ListItemLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_height="56dp"> android:layout_height="wrap_content">
<FrameLayout <FrameLayout
android:layout_width="56dp" android:layout_width="56dp"
android:layout_height="56dp" android:layout_height="match_parent"
android:focusable="false" android:focusable="false"
android:focusableInTouchMode="false"> android:focusableInTouchMode="false">
@ -22,7 +22,7 @@
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="vertical" > android:orientation="vertical" >
@ -91,7 +91,7 @@
<FrameLayout <FrameLayout
android:layout_width="40dp" android:layout_width="40dp"
android:layout_height="56dp" android:layout_height="match_parent"
android:focusable="false" android:focusable="false"
android:focusableInTouchMode="false" android:focusableInTouchMode="false"
android:paddingLeft="8dp" android:paddingLeft="8dp"