From 193fc7adee2c1b91d9ccdf6c6848b3b156cd2540 Mon Sep 17 00:00:00 2001 From: Tom Hennen Date: Mon, 25 Jan 2016 16:49:35 -0500 Subject: [PATCH] update layout, remove unneeded call --- .../java/de/danoeh/antennapod/activity/FeedInfoActivity.java | 1 - app/src/main/res/layout/feedinfo.xml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java index 3679b5eca..4869a855c 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java @@ -177,7 +177,6 @@ public class FeedInfoActivity extends ActionBarActivity { feed, checked); dialog.createNewDialog().show(); }); - cbxGlobalRefresh.setEnabled(true); cbxGlobalRefresh.setChecked(prefs.getGlobalRefresh()); cbxGlobalRefresh.setOnCheckedChangeListener((compoundButton, checked) -> { feed.getPreferences().setGlobalRefresh(checked); diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml index 37f6e1b42..d4a928968 100644 --- a/app/src/main/res/layout/feedinfo.xml +++ b/app/src/main/res/layout/feedinfo.xml @@ -187,10 +187,10 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/global_refresh" - android:enabled="false" + android:enabled="true" android:textColor="?android:attr/textColorPrimary" tools:background="@android:color/holo_red_light" - android:checked="false" /> + android:checked="true" />