diff options
author | Andrew Dolgov <[email protected]> | 2012-09-09 17:35:11 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-09 17:35:11 +0400 |
commit | 59d11ac9723d6ac7d7c9042cee72cccf3d68f9e6 (patch) | |
tree | 1c7c01968b45401a8006acb92a00dfee39d31f1f /res | |
parent | 4e4739af55baaa98d52b2b7b005053a320862379 (diff) |
implement shareintent handler for tt-rss sharing functionality
bump version
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/share.xml | 90 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
2 files changed, 91 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 diff --git a/res/values/strings.xml b/res/values/strings.xml index 34085feb..4e5da8ee 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -128,4 +128,5 @@ <string name="notify_article_published">Article published</string> <string name="notify_article_unpublished">Article unpublished</string> <string name="notify_article_note_set">Article note saved</string> + <string name="api_too_low">This action requires newer version of Tiny Tiny RSS</string> </resources>
\ No newline at end of file |