main.xml 3 KB
Newer Older
Michael Merg's avatar
Michael Merg committed
1
<?xml version="1.0" encoding="utf-8"?>
Sébastien Toque's avatar
Sébastien Toque committed
2
3
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
Michael Merg's avatar
Michael Merg committed
4
5
6
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
7
    <LinearLayout
8
        android:layout_width="fill_parent"
Sébastien Toque's avatar
Sébastien Toque committed
9
10
        android:layout_height="48dip"
        android:orientation="horizontal"
11
        android:visibility="gone"
Sébastien Toque's avatar
Sébastien Toque committed
12
13
14
15
        android:background="@drawable/header">
        <ImageView
            android:src="@drawable/header_logo"
            android:layout_width="wrap_content"
16
            android:layout_height="fill_parent"
Sébastien Toque's avatar
Sébastien Toque committed
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
            android:scaleType="centerInside" />
        <View
            android:layout_width="0dip"
            android:layout_height="wrap_content"
            android:layout_weight="1" />
        <ProgressBar
            android:id="@+id/ml_progress_bar"
            android:layout_width="22dip"
            android:layout_height="22dip"
            android:layout_margin="13dip"
            android:visibility="invisible" />
        <ImageButton
            android:id="@+id/change_tab"
            android:background="@drawable/header_button"
            android:src="@drawable/header_icon_audio"
            android:scaleType="fitXY"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:padding="10dip"
            android:onClick="changeTabClick" />
        <ImageButton
            android:layout_width="48dip"
            android:layout_height="48dip"
            android:background="@drawable/header_button"
            android:src="@drawable/header_icon_loupe"
            android:scaleType="fitXY"
            android:padding="10dip"
            android:onClick="searchClick" />
    </LinearLayout>
46
47
	<FrameLayout android:id="@+id/fragment_placeholder"
	    android:layout_weight="1"
48
        android:layout_width="fill_parent"
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
49
        android:layout_height="0dip" />
50
51
52
    <RelativeLayout
        android:id="@+id/info_layout"
        android:layout_width="fill_parent"
Sébastien Toque's avatar
Sébastien Toque committed
53
        android:layout_height="wrap_content"
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
        android:visibility="visible">
        <ProgressBar
            android:id="@+id/info_progress"
            style="?android:attr/progressBarStyleHorizontal"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:progressDrawable="@drawable/progress"/>
        <TextView
            android:id="@+id/info_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="5dip"
            android:layout_marginRight="5dip"
            android:singleLine="true"
            android:textColor="#FFFFFFFF"
            android:shadowColor="#CC000000"
            android:shadowRadius="1.5"
            android:shadowDx="1"
            android:shadowDy="1"/>
    </RelativeLayout>
74
    <FrameLayout
Sébastien Toque's avatar
Sébastien Toque committed
75
76
        android:id="@+id/audio_mini_player"
        android:layout_height="wrap_content"
77
        android:layout_width="fill_parent"/>
78
</LinearLayout>