Merge remote-tracking branch 'remotes/upstream/video_thumbnail' into beta
[pub/Android/ownCloud.git] / res / layout / share_user_item.xml
index e360d1d..2bb8c28 100644 (file)
         <TextView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:layout_weight="0.7"
-            android:textAppearance="?android:attr/textAppearanceMedium"
+            android:layout_weight="0.9"
+            android:textSize="16dip"
             android:text="@string/username"
             android:id="@+id/userOrGroupName"
             android:layout_margin="12dp"
-            android:textColor="@color/textColor"/>
+            android:textColor="@color/textColor"
+            android:singleLine="true"
+            android:ellipsize="middle"/>
 
         <ImageView
             android:layout_width="wrap_content"
             android:layout_height="match_parent"
-            android:layout_weight="0.3"
+            android:layout_weight="0.1"
             android:id="@+id/unshareButton"
             android:src="@drawable/ic_cancel"
-            android:layout_marginRight="4dp"
+            android:layout_marginRight="8dp"
             android:layout_marginLeft="4dp"
-            android:layout_gravity="center_horizontal"
-            android:visibility="gone"/>
+            android:layout_gravity="center_horizontal"/>
     </LinearLayout>
 
     <View