From: masensio Date: Tue, 27 Oct 2015 23:22:36 +0000 (+0100) Subject: Fix: Having the device in landscape current shared users are not shown. Redimension... X-Git-Tag: oc-android-1.9^2~30^2~13 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/f1bd33ce00fbcb3f236bb86cf1e44939b2219658 Fix: Having the device in landscape current shared users are not shown. Redimension 'Share with' dialog --- diff --git a/res/layout/share_file_layout.xml b/res/layout/share_file_layout.xml index 7bcbaa23..feaddb3b 100644 --- a/res/layout/share_file_layout.xml +++ b/res/layout/share_file_layout.xml @@ -31,46 +31,56 @@ android:id="@+id/shareHeaderContainer" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp" + android:layout_marginTop="6dp" + android:layout_marginBottom="6dp" android:background="@color/background_color"> + android:layout_width="@dimen/file_icon_size" + android:layout_height="@dimen/file_icon_size" + android:src="@drawable/file" + android:layout_marginLeft="12dp" + android:layout_marginRight="12dp" + android:layout_gravity="center_vertical" + android:layout_marginTop="12dp" + android:layout_marginBottom="12dp"/> + android:layout_toEndOf="@+id/shareFileIcon" + android:singleLine="true" + android:ellipsize="middle" + android:layout_marginTop="12dp"/> + android:layout_marginTop="4dp" + android:layout_marginLeft="4dp" + android:layout_marginBottom="12dp" + android:layout_gravity="center_vertical"/> + android:textColor="@color/textColor" + android:singleLine="true" + android:ellipsize="middle"/>