diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-31 20:51:23 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-31 20:51:23 -0700 |
commit | fda62834ccbfdaf76f918e13fa59da6f78c79591 (patch) | |
tree | 39028d43c35f8a4112998e67d1c0df242cf4f463 /subsonic-android/res/layout/download_slider.xml | |
parent | b1105a707296d935fdec45f53d7ac317d058c8ae (diff) | |
download | dsub-fda62834ccbfdaf76f918e13fa59da6f78c79591.tar.gz dsub-fda62834ccbfdaf76f918e13fa59da6f78c79591.tar.bz2 dsub-fda62834ccbfdaf76f918e13fa59da6f78c79591.zip |
Always display tabs on Now Playing
Diffstat (limited to 'subsonic-android/res/layout/download_slider.xml')
-rw-r--r-- | subsonic-android/res/layout/download_slider.xml | 51 |
1 files changed, 41 insertions, 10 deletions
diff --git a/subsonic-android/res/layout/download_slider.xml b/subsonic-android/res/layout/download_slider.xml index 549950a0..32e146e7 100644 --- a/subsonic-android/res/layout/download_slider.xml +++ b/subsonic-android/res/layout/download_slider.xml @@ -1,13 +1,44 @@ <?xml version="1.0" encoding="utf-8"?>
-<github.daneren2005.dsub.util.HorizontalSlider
+<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- style="?android:attr/progressBarStyleHorizontal"
- android:id="@+id/download_progress_bar"
- android:indeterminate="false"
- android:background="@android:color/transparent"
- android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:paddingLeft="7dip"
- android:paddingRight="7dip"
- android:paddingTop="3dip"
- android:paddingBottom="7dip"/>
+ android:layout_width="fill_parent"
+ android:background="@android:color/transparent">
+
+ <TextView
+ android:id="@+id/download_position"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:paddingLeft="8dip"
+ android:text="0:00"
+ android:textSize="12sp"
+ android:textColor="?android:textColorPrimary"
+ android:paddingBottom="4dip"/>
+
+ <github.daneren2005.dsub.util.HorizontalSlider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ style="?android:attr/progressBarStyleHorizontal"
+ android:id="@+id/download_progress_bar"
+ android:indeterminate="false"
+ android:background="@android:color/transparent"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="55dip"
+ android:paddingRight="55dip"
+ android:paddingTop="3dip"
+ android:paddingBottom="7dip"/>
+
+ <TextView
+ android:id="@+id/download_duration"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:paddingRight="8dip"
+ android:text="-:--"
+ android:textSize="12sp"
+ android:textColor="?android:textColorPrimary"
+ android:paddingBottom="4dip"/>
+</RelativeLayout>
\ No newline at end of file |