summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorTom Hennen <tom.hennen@gmail.com>2016-01-25 12:27:42 -0500
committerTom Hennen <tom.hennen@gmail.com>2016-01-25 12:27:42 -0500
commit672c03e41a9663ecb6787047d6176c40b0deed33 (patch)
tree70bba12f707f048cca22ab6eb52931336aece6b7 /app/src/main/res
parent3912f3334244a7e29f57af1501018dd6c6c39316 (diff)
downloadAntennaPod-672c03e41a9663ecb6787047d6176c40b0deed33.zip
enable/disable controls based on auto-download setting
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/feedinfo.xml31
1 files changed, 20 insertions, 11 deletions
diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml
index 2e36bf495..e991c243c 100644
--- a/app/src/main/res/layout/feedinfo.xml
+++ b/app/src/main/res/layout/feedinfo.xml
@@ -150,17 +150,6 @@
android:text="@string/podcast_settings_label"
android:layout_marginTop="8dp"/>
- <CheckBox
- android:id="@+id/cbxAutoDownload"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:text="@string/auto_download_label"
- android:enabled="false"
- android:textColor="?android:attr/textColorPrimary"
- tools:background="@android:color/holo_red_light"
- android:checked="false" />
-
<android.support.v7.widget.GridLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -265,6 +254,25 @@
</android.support.v7.widget.GridLayout>
+ <TextView
+ android:id="@+id/txtvAutoDownloadSettings"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:text="@string/auto_download_settings_label"
+ android:textSize="@dimen/text_size_medium"
+ android:textColor="?android:attr/textColorPrimary"/>
+
+ <CheckBox
+ android:id="@+id/cbxAutoDownload"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:text="@string/auto_download_label"
+ android:enabled="false"
+ android:textColor="?android:attr/textColorPrimary"
+ tools:background="@android:color/holo_red_light"
+ android:checked="false" />
<TextView
android:id="@+id/txtvEpisodeFilters"
@@ -285,6 +293,7 @@
android:layout_marginTop="8dp"/>
<RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/radio_filter_group"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"