summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-08-04 13:26:02 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-08-04 13:26:02 +0200
commitb91a04fc8c7289e7586a9f02ddcc81c23bb8f2de (patch)
tree2f1244049c043c407f0f22e664e3bec7eb602ad5 /res
parentb712ffee8f5d42c8bf9c27a9f8a10688d4afd07b (diff)
downloadAntennaPod-b91a04fc8c7289e7586a9f02ddcc81c23bb8f2de.zip
Created Activity for displaying information about a channel
Diffstat (limited to 'res')
-rw-r--r--res/layout/miroguide_channelview.xml63
-rw-r--r--res/layout/miroguide_itemlist_item.xml25
-rw-r--r--res/menu/channelview.xml7
3 files changed, 95 insertions, 0 deletions
diff --git a/res/layout/miroguide_channelview.xml b/res/layout/miroguide_channelview.xml
new file mode 100644
index 000000000..e392a463a
--- /dev/null
+++ b/res/layout/miroguide_channelview.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ProgressBar
+ android:id="@+id/progLoading"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:indeterminateOnly="true" />
+
+ <RelativeLayout
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/layout_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="invisible" >
+
+ <TextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_margin="8dp"
+ android:gravity="center"
+ android:textSize="20dp"
+ android:textStyle="bold" />
+
+ <View
+ android:id="@+id/title_divider"
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:layout_below="@id/txtvTitle"
+ android:background="@color/ics_gray" />
+
+ <TextView
+ android:id="@+id/txtvDescription"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/title_divider"
+ android:layout_margin="8dp"
+ android:maxLines="8"
+ android:textSize="16dp" />
+
+ <View
+ android:id="@+id/description_divider"
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:layout_below="@id/txtvDescription"
+ android:background="@color/ics_gray" />
+
+ <ListView
+ android:id="@+id/itemlist"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_alignParentBottom="true"
+ android:layout_below="@id/description_divider"
+ tools:listitem="@android:layout/simple_list_item_1" >
+ </ListView>
+ </RelativeLayout>
+
+</FrameLayout> \ No newline at end of file
diff --git a/res/layout/miroguide_itemlist_item.xml b/res/layout/miroguide_itemlist_item.xml
new file mode 100644
index 000000000..476a4ebcd
--- /dev/null
+++ b/res/layout/miroguide_itemlist_item.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:gravity="center_vertical"
+ android:maxLines="2"
+ android:textSize="16dp" />
+
+ <TextView
+ android:id="@+id/txtvDate"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_marginBottom="8dp"
+ android:textColor="@color/gray" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/menu/channelview.xml b/res/menu/channelview.xml
new file mode 100644
index 000000000..602d1e607
--- /dev/null
+++ b/res/menu/channelview.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item android:id="@+id/add_feed" android:icon="@drawable/content_new" android:title="@string/add_new_feed_label" android:showAsAction="ifRoom"></item>
+ <item android:id="@+id/visit_website_item" android:title="@string/visit_website_label" android:showAsAction="ifRoom" android:icon="@drawable/location_web_site"></item>
+
+
+</menu> \ No newline at end of file