New HTML edits from Joseph, and added a fading edge to the WebView to make it more...
[zxing.git] / android / res / layout / help.xml
index e1e69e2..062ff68 100644 (file)
   <WebView android:id="@+id/help_contents"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
-           android:layout_weight="1"/>
+           android:layout_weight="1"
+           android:fadingEdge="vertical"
+           android:fadingEdgeLength="16dip"/>
 
   <LinearLayout
       android:layout_width="fill_parent"
       android:layout_height="wrap_content"
       android:layout_weight="0"
       android:orientation="horizontal"
-      android:gravity="right"
+      android:gravity="center"
       android:padding="8px"
+      android:weightSum="1"
       android:background="@color/help_button_view">
 
     <Button android:id="@+id/back_button"
-            android:layout_width="100px"
+            android:layout_width="0dip"
             android:layout_height="wrap_content"
+            android:layout_weight="0.35"
             android:text="@string/button_back"/>
 
     <Button android:id="@+id/done_button"
-            android:layout_width="100px"
+            android:layout_width="0dip"
             android:layout_height="wrap_content"
+            android:layout_weight="0.35"
             android:text="@string/button_done"/>
 
   </LinearLayout>