summaryrefslogtreecommitdiff
path: root/res/layout/share.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-09 17:35:11 +0400
committerAndrew Dolgov <[email protected]>2012-09-09 17:35:11 +0400
commit59d11ac9723d6ac7d7c9042cee72cccf3d68f9e6 (patch)
tree1c7c01968b45401a8006acb92a00dfee39d31f1f /res/layout/share.xml
parent4e4739af55baaa98d52b2b7b005053a320862379 (diff)
implement shareintent handler for tt-rss sharing functionality
bump version
Diffstat (limited to 'res/layout/share.xml')
-rw-r--r--res/layout/share.xml90
1 files changed, 90 insertions, 0 deletions
diff --git a/res/layout/share.xml b/res/layout/share.xml
new file mode 100644
index 00000000..7ccdfb2a
--- /dev/null
+++ b/res/layout/share.xml
@@ -0,0 +1,90 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main"
+ android:layout_width="match_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <TableLayout
+ android:padding="4dp"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TableRow
+ android:id="@+id/tableRow1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.3"
+ android:text="Title:"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <EditText
+ android:id="@+id/title"
+ android:singleLine="true"
+ android:layout_width="0dp"
+ android:hint="Article Title"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.7" >
+ </EditText>
+ </TableRow>
+
+ <TableRow
+ android:id="@+id/tableRow2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+
+ <TextView
+ android:id="@+id/textView2"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.3"
+ android:text="URL:"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <EditText
+ android:id="@+id/url"
+ android:singleLine="true"
+ android:hint="Article URL"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.7" />
+ </TableRow>
+
+ <EditText
+ android:id="@+id/content"
+ android:layout_width="wrap_content"
+ android:hint="Article Content"
+ android:layout_height="wrap_content"
+ android:inputType="textMultiLine"
+ android:maxLines="3">
+ <requestFocus />
+ </EditText>
+
+ <Button
+ android:id="@+id/share_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Share" />
+
+ </TableLayout>
+
+ <LinearLayout
+ android:id="@+id/loading_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/loading_message"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:text="@string/loading_message" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file