First pass at adding a UI for sharing data via QR Codes. There's now a Share button...
[zxing.git] / android / res / layout / share.xml
diff --git a/android/res/layout/share.xml b/android/res/layout/share.xml
new file mode 100755 (executable)
index 0000000..5f65ba2
--- /dev/null
@@ -0,0 +1,50 @@
+<?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"
+              android:id="@+id/encode_view"
+              android:layout_width="fill_parent"
+              android:layout_height="fill_parent"
+              android:background="@color/share_view"
+              android:orientation="vertical"
+              android:gravity="center"
+              android:padding="8px">
+
+  <TextView
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:gravity="left"
+            android:textColor="@color/share_text"
+            android:textSize="18.0sp"
+            android:text="@string/msg_share_explanation"
+            android:paddingBottom="16px"/>
+
+  <Button android:id="@+id/contact_button"
+          android:layout_width="wrap_content"
+          android:layout_height="wrap_content"
+          android:text="@string/button_share_contact"/>
+
+  <Button android:id="@+id/bookmark_button"
+          android:layout_width="wrap_content"
+          android:layout_height="wrap_content"
+          android:text="@string/button_share_bookmark"/>
+
+  <Button android:id="@+id/clipboard_button"
+          android:layout_width="wrap_content"
+          android:layout_height="wrap_content"
+          android:text="@string/button_share_clipboard"/>
+
+</LinearLayout>