summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-10-27 10:37:49 +0100
committerlado <herrlado@gmail.com>2013-10-27 10:37:49 +0100
commitd9200161d6d6a005a53714fde893b1eec3aa25fc (patch)
tree3a17d3a2d0357062d89659c08290699a581115c6 /vdrmanager/res/layout
parent93ade848ddc97f939ca7a1718b84c18ff74465f8 (diff)
downloadvdr-manager-d9200161d6d6a005a53714fde893b1eec3aa25fc.tar.gz
vdr-manager-d9200161d6d6a005a53714fde893b1eec3aa25fc.tar.bz2
Progressbar drive
Diffstat (limited to 'vdrmanager/res/layout')
-rw-r--r--vdrmanager/res/layout/recording_list.xml43
1 files changed, 29 insertions, 14 deletions
diff --git a/vdrmanager/res/layout/recording_list.xml b/vdrmanager/res/layout/recording_list.xml
index fd56e00..865e403 100644
--- a/vdrmanager/res/layout/recording_list.xml
+++ b/vdrmanager/res/layout/recording_list.xml
@@ -48,25 +48,39 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
+ android:layout_alignWithParentIfMissing="true"
android:layout_marginTop="4dp"
android:background="@drawable/back"
- android:layout_alignWithParentIfMissing="true"
- android:orientation="horizontal"
+ android:orientation="vertical"
android:padding="2dp" >
- <ImageView
- android:id="@+id/drive_image"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_drive"
- android:contentDescription="@string/drive_img"/>
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="horizontal" >
- <TextView
- android:id="@+id/drive_info"
+ <ImageView
+ android:id="@+id/drive_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/drive_img"
+ android:src="@drawable/ic_drive" />
+
+ <TextView
+ android:id="@+id/drive_info"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:gravity="center" />
+ </LinearLayout>
+
+ <ProgressBar
+ android:id="@+id/drive_info_pb"
+ style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dp"
- />
+ android:layout_height="1dip"
+ android:indeterminate="false"
+ android:progress="40" />
</LinearLayout>
</RelativeLayout>
@@ -86,7 +100,8 @@
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:src="@drawable/sad" android:contentDescription="@string/sad_img"/>
+ android:contentDescription="@string/sad_img"
+ android:src="@drawable/sad" />
<Button
android:id="@+id/retry_button"