summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-10-17 18:59:08 +0400
committerAndrew Dolgov <[email protected]>2013-10-17 18:59:08 +0400
commit458b46df25bac406b568598046de7c61561e5fbb (patch)
tree6f8fc9488a2d3b8524542a5131fe4550dd269f0b /res
parentb3dcf3f6d8d8c6bb1ddd49e087dd7d0ef386e9a8 (diff)
tasker: add action to upload modified articles and switch online
Diffstat (limited to 'res')
-rw-r--r--res/layout/tasker_settings.xml32
-rw-r--r--res/values/strings.xml1
2 files changed, 22 insertions, 11 deletions
diff --git a/res/layout/tasker_settings.xml b/res/layout/tasker_settings.xml
index b96642aa..b50f3c3c 100644
--- a/res/layout/tasker_settings.xml
+++ b/res/layout/tasker_settings.xml
@@ -4,17 +4,6 @@
android:layout_height="fill_parent"
android:padding="5dp" >
- <CheckBox
- android:id="@+id/download_articles"
- android:checked="true"
- android:enabled="false"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:text="@string/download_articles_and_go_offline" />
-
<Button
android:id="@+id/close_button"
android:layout_width="wrap_content"
@@ -23,4 +12,25 @@
android:layout_centerHorizontal="true"
android:text="@string/tasker_save_and_close" />
+ <RadioGroup
+ android:id="@+id/taskerActions"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true" >
+
+ <RadioButton
+ android:id="@+id/actionDownload"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:checked="true"
+ android:text="@string/download_articles_and_go_offline" />
+
+ <RadioButton
+ android:id="@+id/actionUpload"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/synchronize_read_articles_and_go_online" />
+ </RadioGroup>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 586ec70a..7b475ddc 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -208,4 +208,5 @@
<string name="shortcut_has_been_placed_on_the_home_screen">Shortcut has been placed on the home screen</string>
<string name="download_articles_and_go_offline">Download articles and go offline</string>
<string name="tasker_save_and_close">Save and close</string>
+ <string name="synchronize_read_articles_and_go_online">Synchronize read articles and go online</string>
</resources>