summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorTom Hennen <tom.hennen@gmail.com>2016-03-25 13:57:34 -0400
committerTom Hennen <tom.hennen@gmail.com>2016-03-25 13:57:34 -0400
commitd6bda2e144c57dc878d70aec303467ca51e1f794 (patch)
treec1afd2c50b72618e05ebfb807bad631d92d92e9d /app/src/main/res
parentf5111ce6e3a2c90848d5b9e992c01403a82d1db3 (diff)
downloadAntennaPod-d6bda2e144c57dc878d70aec303467ca51e1f794.zip
removed unneeded views
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/subscription_item.xml35
-rw-r--r--app/src/main/res/layout/subscription_view.xml43
2 files changed, 26 insertions, 52 deletions
diff --git a/app/src/main/res/layout/subscription_item.xml b/app/src/main/res/layout/subscription_item.xml
index cee37f7aa..c23d05bd4 100644
--- a/app/src/main/res/layout/subscription_item.xml
+++ b/app/src/main/res/layout/subscription_item.xml
@@ -1,12 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
- <de.danoeh.antennapod.view.SubscriptionViewItem
- android:layout_width="match_parent"
- android:id="@+id/subscription_item"
- android:layout_height="match_parent"/>
+ <ImageView
+ android:id="@+id/imgvCover"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ tools:src="@drawable/ic_launcher" />
-</RelativeLayout>
+ <TextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_centerInParent="true"
+ android:layout_margin="@dimen/widget_margin"
+ android:ellipsize="end"
+ android:padding="@dimen/widget_margin"
+ style="@style/AntennaPod.TextView.Heading"
+ android:textSize="15sp"
+ android:textStyle="bold"
+ tools:text="@string/app_name" />
+
+</LinearLayout>
diff --git a/app/src/main/res/layout/subscription_view.xml b/app/src/main/res/layout/subscription_view.xml
deleted file mode 100644
index 629d9a492..000000000
--- a/app/src/main/res/layout/subscription_view.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <ImageView
- android:id="@+id/imgvCover"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- tools:src="@drawable/ic_launcher" />
-
- <TextView
- android:id="@+id/txtvTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_margin="@dimen/widget_margin"
- android:ellipsize="end"
- android:padding="@dimen/widget_margin"
- style="@style/AntennaPod.TextView.Heading"
- android:textSize="15sp"
- android:textStyle="bold"
- tools:text="@string/app_name" />
-
- <TextView
- android:id="@+id/txtvTime"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
- android:layout_margin="@dimen/widget_margin"
- android:ellipsize="end"
- android:maxLines="1"
- android:textColor="@color/white"
- android:textSize="12sp"
- tools:text="@string/app_name" />
-
-</RelativeLayout>