summaryrefslogtreecommitdiff
path: root/res/layout/external_player_fragment.xml
blob: cdde81aa4bd748494532e647ddff3ecd1b28426f (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
68
69
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/fragmentLayout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:visibility="gone" >

    <View
        android:layout_width="match_parent"
        android:layout_height="0.5dp"
        android:background="#AAAAAA" />

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="#D2D2D2" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/actionbar_gray" >

        <RelativeLayout
            android:id="@+id/layoutInfo"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/borderless_button" >

            <ImageView
                android:id="@+id/imgvCover"
                android:layout_width="@dimen/external_player_height"
                android:layout_height="@dimen/external_player_height"
                android:layout_alignParentLeft="true"
                android:adjustViewBounds="true"
                android:cropToPadding="true"
                android:scaleType="fitXY" />

            <TextView
                android:id="@+id/txtvTitle"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentTop="true"
                android:layout_marginLeft="8dp"
                android:layout_marginRight="8dp"
                android:layout_marginTop="8dp"
                android:layout_toRightOf="@id/imgvCover"
                android:maxLines="1"
                android:textStyle="bold" />

            <TextView
                android:id="@+id/txtvPosition"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@id/txtvTitle"
                android:layout_margin="8dp"
                android:layout_toRightOf="@id/imgvCover"
                android:textSize="14dp" />
        </RelativeLayout>

        <ImageButton
            android:id="@+id/butPlay"
            android:layout_width="@dimen/external_player_height"
            android:layout_height="@dimen/external_player_height"
            android:background="@drawable/borderless_button" />
    </LinearLayout>

</LinearLayout>