2008-11-21 13:04:11 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright (C) 2008 ZXing authors
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-06-01 13:27:03 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:gravity="center"
|
2008-11-21 13:04:11 -08:00
|
|
|
android:orientation="vertical"
|
2011-05-11 13:38:54 -07:00
|
|
|
android:padding="8dip">
|
2008-11-21 13:04:11 -08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="fill_parent"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
2008-11-21 13:04:11 -08:00
|
|
|
android:textColor="@color/share_text"
|
2010-06-29 14:11:27 -07:00
|
|
|
android:textSize="18sp"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:text="@string/msg_share_explanation"
|
2011-05-11 13:38:54 -07:00
|
|
|
android:paddingBottom="12dip"/>
|
2008-11-21 13:04:11 -08:00
|
|
|
|
|
|
|
<LinearLayout
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_width="fill_parent"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
2011-05-11 13:38:54 -07:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingBottom="12dip">
|
2008-11-21 13:04:11 -08:00
|
|
|
|
|
|
|
<ImageView
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2008-11-21 13:04:11 -08:00
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/share_via_barcode"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:paddingRight="24dip"/>
|
2008-11-21 13:04:11 -08:00
|
|
|
|
2010-06-15 06:04:18 -07:00
|
|
|
<LinearLayout
|
2010-06-15 06:13:27 -07:00
|
|
|
android:layout_width="0dip"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2008-11-21 13:04:11 -08:00
|
|
|
|
2011-05-11 13:38:54 -07:00
|
|
|
<Button android:id="@+id/share_app_button"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_width="fill_parent"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/button_share_app"/>
|
2009-11-17 03:54:15 -08:00
|
|
|
|
2011-05-11 13:38:54 -07:00
|
|
|
<Button android:id="@+id/share_contact_button"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_width="fill_parent"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/button_share_contact"/>
|
2009-11-17 03:54:15 -08:00
|
|
|
|
2010-06-15 06:04:18 -07:00
|
|
|
</LinearLayout>
|
2009-11-17 03:54:15 -08:00
|
|
|
|
2010-06-15 06:04:18 -07:00
|
|
|
<LinearLayout
|
2010-06-15 06:13:27 -07:00
|
|
|
android:layout_width="0dip"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2009-11-17 03:54:15 -08:00
|
|
|
|
2011-05-11 13:38:54 -07:00
|
|
|
<Button android:id="@+id/share_bookmark_button"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_width="fill_parent"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/button_share_bookmark"/>
|
2009-11-17 03:54:15 -08:00
|
|
|
|
2011-05-11 13:38:54 -07:00
|
|
|
<Button android:id="@+id/share_clipboard_button"
|
2010-06-15 06:04:18 -07:00
|
|
|
android:layout_width="fill_parent"
|
2010-07-20 15:43:38 -07:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/button_share_clipboard"/>
|
2008-11-21 13:04:11 -08:00
|
|
|
|
2010-06-15 06:04:18 -07:00
|
|
|
</LinearLayout>
|
2008-11-21 13:04:11 -08:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2011-05-11 13:38:54 -07:00
|
|
|
<EditText android:id="@+id/share_text_view"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:hint="@string/msg_share_text"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:selectAllOnFocus="true"/>
|
|
|
|
|
2008-11-21 13:04:11 -08:00
|
|
|
</LinearLayout>
|