From de4f72bc02a11c90a30622e6f0f1997afe35427b Mon Sep 17 00:00:00 2001 From: twig Date: Wed, 1 Jun 2016 10:31:00 +1000 Subject: [PATCH] - disabled all the fancy stuff in RemoteRssActivity.java (FAB, refresh button, drag to refresh, bottom toolbar) --- .../core/gui/remoterss/RemoteRssActivity.java | 3 +- .../main/res/layout/activity_remoterss.xml | 35 +------------------ .../main/res/layout/fragment_remoterss.xml | 8 ----- .../res/layout/list_item_remoterssitem.xml | 31 ++++++++-------- 4 files changed, 18 insertions(+), 59 deletions(-) diff --git a/app/src/main/java/org/transdroid/core/gui/remoterss/RemoteRssActivity.java b/app/src/main/java/org/transdroid/core/gui/remoterss/RemoteRssActivity.java index 7b1daed2..f5ae9917 100644 --- a/app/src/main/java/org/transdroid/core/gui/remoterss/RemoteRssActivity.java +++ b/app/src/main/java/org/transdroid/core/gui/remoterss/RemoteRssActivity.java @@ -31,7 +31,6 @@ import org.androidannotations.annotations.FragmentById; import org.androidannotations.annotations.InstanceState; import org.androidannotations.annotations.ItemClick; import org.androidannotations.annotations.OptionsItem; -import org.androidannotations.annotations.OptionsMenu; import org.androidannotations.annotations.ViewById; import org.transdroid.R; import org.transdroid.core.app.settings.SystemSettings_; @@ -49,7 +48,7 @@ import java.util.ArrayList; * @author Eric Kok */ @EActivity(R.layout.activity_remoterss) -@OptionsMenu(R.menu.activity_details) +//@OptionsMenu(R.menu.activity_details) public class RemoteRssActivity extends AppCompatActivity { @Extra @InstanceState diff --git a/app/src/main/res/layout/activity_remoterss.xml b/app/src/main/res/layout/activity_remoterss.xml index 71cf63f6..2f0be10f 100644 --- a/app/src/main/res/layout/activity_remoterss.xml +++ b/app/src/main/res/layout/activity_remoterss.xml @@ -38,32 +38,11 @@ android:layout_height="wrap_content" android:minHeight="?attr/actionBarSize" /> - - - - @@ -73,19 +52,7 @@ - - + /> diff --git a/app/src/main/res/layout/fragment_remoterss.xml b/app/src/main/res/layout/fragment_remoterss.xml index 434b61e6..7ac56e14 100644 --- a/app/src/main/res/layout/fragment_remoterss.xml +++ b/app/src/main/res/layout/fragment_remoterss.xml @@ -20,21 +20,13 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - diff --git a/app/src/main/res/layout/list_item_remoterssitem.xml b/app/src/main/res/layout/list_item_remoterssitem.xml index a3ad30d2..21b3f8f5 100644 --- a/app/src/main/res/layout/list_item_remoterssitem.xml +++ b/app/src/main/res/layout/list_item_remoterssitem.xml @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with Transdroid. If not, see . --> - + + + tools:text="Title for torrent" + android:layout_below="@+id/label_text"/> - - + tools:text="25-12-2015" + /> - +