aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout/download_slider.xml
blob: 1794126b49f7c22b5e662ecf2bd3ea88fbe13a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent"
        android:background="@android:color/transparent"
		android:paddingBottom="10dip">
			
	<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>