Oops remove bar again
[zxing.git] / android / res / layout / share.xml
index 4125caa..27ddc42 100755 (executable)
               android:id="@+id/encode_view"
               android:layout_width="fill_parent"
               android:layout_height="fill_parent"
+              android:gravity="center"
               android:background="@color/share_view"
               android:orientation="vertical"
               android:padding="16dip">
 
   <TextView
-      android:layout_width="fill_parent"
+      android:layout_width="wrap_content"
       android:layout_height="wrap_content"
-      android:gravity="left"
+      android:layout_weight="1"
       android:textColor="@color/share_text"
-      android:textSize="18.0sp"
-      android:text="@string/msg_share_explanation"
-      android:paddingBottom="32dip"/>
+      android:textSize="22sp"
+      android:text="@string/msg_share_explanation"/>
 
-  <LinearLayout
+  <ImageView
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
-      android:background="@color/share_view"
-      android:orientation="vertical"
-      android:layout_gravity="center">
+      android:layout_weight="1"
+      android:scaleType="center"
+      android:src="@drawable/share_via_barcode"
+      android:paddingBottom="24dip"/>
 
-    <ImageView
-        android:layout_width="fill_parent"
-        android:layout_height="wrap_content"
-        android:scaleType="center"
-        android:src="@drawable/share_via_barcode"
-        android:paddingBottom="32dip"/>
+  <LinearLayout
+      android:layout_width="fill_parent"
+      android:layout_height="wrap_content"
+      android:layout_weight="1"
+      android:orientation="horizontal"
+      android:paddingBottom="8dip">
 
     <Button android:id="@+id/contact_button"
             android:layout_width="fill_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="fill_parent"
+            android:layout_weight="1"
             android:text="@string/button_share_contact"/>
 
     <Button android:id="@+id/bookmark_button"
             android:layout_width="fill_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="fill_parent"
+            android:layout_weight="1"
             android:text="@string/button_share_bookmark"/>
 
+  </LinearLayout>
+
+  <LinearLayout
+      android:layout_width="fill_parent"
+      android:layout_height="wrap_content"
+      android:layout_weight="1"
+      android:orientation="horizontal">
+
     <Button android:id="@+id/clipboard_button"
             android:layout_width="fill_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="fill_parent"
+            android:layout_weight="1"
             android:text="@string/button_share_clipboard"/>
 
+    <Button android:id="@+id/app_button"
+            android:layout_width="fill_parent"
+            android:layout_height="fill_parent"
+            android:layout_weight="1"
+            android:text="@string/button_share_app"/>
+
   </LinearLayout>
 
 </LinearLayout>