From f1bd33ce00fbcb3f236bb86cf1e44939b2219658 Mon Sep 17 00:00:00 2001 From: masensio Date: Wed, 28 Oct 2015 00:22:36 +0100 Subject: [PATCH 1/1] Fix: Having the device in landscape current shared users are not shown. Redimension 'Share with' dialog --- res/layout/share_file_layout.xml | 39 +++++++++++++++++++++++++-------------- res/layout/share_user_item.xml | 6 ++++-- 2 files changed, 29 insertions(+), 16 deletions(-) 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"/>