aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout/download_button_bar_flipper.xml
blob: 80ee0bf89f71c243f3ee23cabf54b86284dad522 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<github.daneren2005.dsub.util.MyViewFlipper
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/download_button_bar_flipper"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/black">

    <RelativeLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:background="@android:color/black"
            android:paddingLeft="8dip"
            android:paddingRight="8dip">

        <TextView
                android:id="@+id/download_position"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:layout_marginRight="6dip"
                android:text="0:00"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="@color/mediaControlForeground"/>
        <TextView
                android:id="@+id/download_duration"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_alignParentTop="true"
                android:layout_marginLeft="6dip"
                android:text="-:--"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="@color/mediaControlForeground"/>
        <TextView
                android:id="@+id/download_artist"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@+id/download_position"
                android:layout_toLeftOf="@+id/download_duration"
                android:layout_centerHorizontal="true"
                android:layout_alignParentTop="true"
                android:singleLine="true"
                android:ellipsize="end"
                android:gravity="center_horizontal"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="#c0c0c0"/>
        <TextView
                android:id="@+id/download_album"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"
                android:layout_below="@+id/download_artist"
                android:singleLine="true"
                android:ellipsize="end"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="#c0c0c0"/>
    </RelativeLayout>

    <include layout="@layout/button_bar"/>

</github.daneren2005.dsub.util.MyViewFlipper>