android:text="@string/msg_share_explanation"
android:paddingBottom="32dip"/>
- <LinearLayout
- android:layout_width="wrap_content"
+ <ImageView
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="@color/share_view"
- android:orientation="vertical"
- android:layout_gravity="center">
-
- <ImageView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:scaleType="center"
- android:src="@drawable/share_via_barcode"
- android:paddingBottom="32dip"/>
-
- <TableLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <TableRow>
-
- <Button android:id="@+id/contact_button"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/button_share_contact"/>
-
- <Button android:id="@+id/bookmark_button"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/button_share_bookmark"/>
-
- </TableRow>
-
- <TableRow>
-
- <Button android:id="@+id/clipboard_button"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/button_share_clipboard"/>
+ android:layout_gravity="center"
+ android:scaleType="center"
+ android:src="@drawable/share_via_barcode"
+ android:paddingBottom="32dip"/>
- <Button android:id="@+id/app_button"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/button_share_app"/>
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:layout_gravity="center"
+ android:orientation="horizontal"
+ android:gravity="center"
+ android:weightSum="1"
+ android:paddingBottom="8dip">
+
+ <Button android:id="@+id/contact_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.4"
+ android:text="@string/button_share_contact"/>
+
+ <Button android:id="@+id/bookmark_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.4"
+ android:text="@string/button_share_bookmark"/>
- </TableRow>
+ </LinearLayout>
- </TableLayout>
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:orientation="horizontal"
+ android:gravity="center"
+ android:weightSum="1">
+
+ <Button android:id="@+id/clipboard_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.4"
+ android:text="@string/button_share_clipboard"/>
+
+ <Button android:id="@+id/app_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.4"
+ android:text="@string/button_share_app"/>
</LinearLayout>
limitations under the License.
-->
<resources>
- <string name="app_picker_name">Applications</string>
+ <string name="app_picker_name">Applications</string>
<string name="app_name">Barcode Scanner</string>
<string name="bookmark_picker_name">Bookmarks</string>
<string name="button_add_calendar">Add to calendar</string>
<string name="msg_encode_contents_failed">Could not encode a barcode from the data provided.</string>
<string name="msg_encode_in_progress">Generating a barcode\u2026</string>
<string name="msg_intent_failed">Sorry, the requested application could not be launched. The barcode contents may be invalid.</string>
- <string name="msg_loading_apps">Loading list of applications</string>
+ <string name="msg_loading_apps">Loading list of applications\u2026</string>
<string name="msg_not_our_results">You are leaving this application. The search results you will see are not related to this application.</string>
<string name="msg_sbc_book_not_searchable">Sorry, this book is not searchable.</string>
<string name="msg_sbc_failed">Sorry, the search encountered a problem.</string>