diff options
author | Daniel Oeh <daniel@danielpc.(none)> | 2012-05-31 12:21:58 +0200 |
---|---|---|
committer | Daniel Oeh <daniel@danielpc.(none)> | 2012-05-31 12:21:58 +0200 |
commit | 278fbc224c0cbcb54b47791bbd0c91886e7abd50 (patch) | |
tree | fa5800d98c39c1341f3260793a2d3464e1abecab /res | |
parent | 7944ea0ba4c820f7be5a0be71256fbb5ed05e24c (diff) | |
download | AntennaPod-278fbc224c0cbcb54b47791bbd0c91886e7abd50.zip |
Added Downloads Activity
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/av_download.png | bin | 0 -> 1328 bytes | |||
-rw-r--r-- | res/layout/downloadlist_item.xml | 27 | ||||
-rw-r--r-- | res/menu/feedlist.xml | 12 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
4 files changed, 37 insertions, 3 deletions
diff --git a/res/drawable-hdpi/av_download.png b/res/drawable-hdpi/av_download.png Binary files differnew file mode 100644 index 000000000..5bceafb1e --- /dev/null +++ b/res/drawable-hdpi/av_download.png diff --git a/res/layout/downloadlist_item.xml b/res/layout/downloadlist_item.xml new file mode 100644 index 000000000..42bcfb68b --- /dev/null +++ b/res/layout/downloadlist_item.xml @@ -0,0 +1,27 @@ +<?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_height="wrap_content" + android:layout_width="match_parent" + android:textStyle="bold"/> + <RelativeLayout + android:layout_height="wrap_content" + android:layout_width="match_parent"> + <TextView + android:id="@+id/txtvDownloaded" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_alignParentLeft="true"/> + <TextView + android:id="@+id/txtvPercent" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_alignParentRight="true"/> + </RelativeLayout> +</LinearLayout> + + diff --git a/res/menu/feedlist.xml b/res/menu/feedlist.xml index c51efe4a5..3caf48d96 100644 --- a/res/menu/feedlist.xml +++ b/res/menu/feedlist.xml @@ -5,11 +5,17 @@ android:title="Add Feed" android:icon="@drawable/content_new" android:showAsAction="ifRoom"> - </item> - <item + </item> + <item android:id="@+id/all_feed_refresh" android:title="Refresh" android:icon="@drawable/navigation_refresh" android:showAsAction="ifRoom"> - </item> + </item> + <item + android:id="@+id/show_downloads" + android:title="Downloads" + android:icon="@drawable/av_download" + android:showAsAction="ifRoom"> + </item> </menu> diff --git a/res/values/strings.xml b/res/values/strings.xml index 9a0e6aff0..f59baec12 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6,6 +6,7 @@ <string name="feeds_label">Feeds</string> <string name="settings_label">Settings</string> <string name="add_new_feed_label">Add a new Feed</string> + <string name="downloads_label">Downloads</string> <!-- --> <string name="confirm_label">Confirm</string> |