Fix layout for share and upload
Change-Id: I95e3481434e655d96e0bd523fc5ba617807cb30b
diff --git a/res/layout/app_row.xml b/res/layout/app_row.xml
index d5b7bc5..8ec5ec7 100644
--- a/res/layout/app_row.xml
+++ b/res/layout/app_row.xml
@@ -29,26 +29,25 @@
*
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
+<LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@+id/app_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:paddingLeft="2px"
- android:paddingTop="2px"
- android:paddingBottom="2px"
- android:paddingRight="5px"
+ android:padding="4.0dip"
+ android:layout_width="48.0dip"
+ android:layout_height="48.0dip"
+ android:layout_marginLeft="12.0dip"
+ android:scaleType="fitCenter"
/>
<TextView
android:id="@+id/app_label"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:gravity="start|center"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@id/app_icon"
- android:textSize="11pt"
- android:paddingTop="2px"
- android:paddingBottom="2px"
+ android:layout_height="48.0dip"
+ android:layout_marginLeft="12.0dip"
+ android:maxLines="2"
/>
-</RelativeLayout>
\ No newline at end of file
+</LinearLayout>
\ No newline at end of file