summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-07-05 12:43:57 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-07-05 12:43:57 +0200
commit3c4df7a89dbe1e82d99ccb42d7c4215b7fa112b4 (patch)
tree26c00bf996cf76f32109768f18c0866a5b30904c /res
parent66ebc4975b3f9ed81dddf8b30ebdb60ecac645f1 (diff)
downloadAntennaPod-3c4df7a89dbe1e82d99ccb42d7c4215b7fa112b4.zip
Improved downloadlist activity
Diffstat (limited to 'res')
-rw-r--r--res/layout/downloadlist_item.xml37
-rw-r--r--res/values/strings.xml2
2 files changed, 29 insertions, 10 deletions
diff --git a/res/layout/downloadlist_item.xml b/res/layout/downloadlist_item.xml
index 42bcfb68b..f270c7725 100644
--- a/res/layout/downloadlist_item.xml
+++ b/res/layout/downloadlist_item.xml
@@ -1,27 +1,44 @@
<?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">
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
<TextView
android:id="@+id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/txtvMessage"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_margin="4dp" />
+
+ <ProgressBar
+ android:id="@+id/progProgress"
+ style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="match_parent"
- android:textStyle="bold"/>
+ android:layout_height="16dp"
+ android:layout_margin="4dp" />
+
<RelativeLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_width="match_parent">
+ android:layout_margin="8dp" >
+
<TextView
android:id="@+id/txtvDownloaded"
- android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:layout_alignParentLeft="true"/>
+ android:layout_height="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"/>
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true" />
</RelativeLayout>
-</LinearLayout>
-
+</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 325cc0946..0e3a4d0cb 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -75,5 +75,7 @@
<string name="language_label">Language</string>
<string name="move_up_label">Move up</string>
<string name="move_down_label">Move down</string>
+ <string name="cancel_all_downloads_label">Cancel all downloads</string>
+ <string name="download_cancelled_msg">Download cancelled</string>
</resources> \ No newline at end of file