• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical">
21
22    <ImageView
23        android:id="@+id/album"
24        android:background="@drawable/album_border_large"
25        android:layout_width="270dip"
26        android:layout_height="270dip"
27        android:layout_gravity="center_horizontal"
28        android:layout_marginTop="0dip" />
29
30    <LinearLayout
31        android:layout_width="wrap_content"
32        android:layout_height="0dip"
33        android:layout_weight="1"
34        android:orientation="horizontal"
35        android:layout_gravity="center_horizontal">
36
37       <ImageButton android:id="@+id/curplaylist"
38            android:src="@drawable/ic_mp_current_playlist_btn"
39            android:layout_width="85dip"
40            android:layout_height="54dip" />
41
42       <ImageButton android:id="@+id/shuffle"
43            android:layout_width="85dip"
44            android:layout_height="54dip"
45            android:layout_marginLeft="19dip" />
46
47       <ImageButton android:id="@+id/repeat"
48            android:layout_width="85dip"
49            android:layout_height="54dip"
50            android:layout_marginLeft="19dip" />
51
52    </LinearLayout>
53
54    <LinearLayout
55        android:layout_width="match_parent"
56        android:layout_height="wrap_content"
57        android:orientation="horizontal"
58        android:baselineAligned="false"
59        android:paddingLeft="11dip"
60        android:paddingTop="2dip"
61        android:paddingBottom="4dip">
62
63        <ImageView
64            android:layout_width="wrap_content"
65            android:layout_height="wrap_content"
66            android:layout_marginRight="4dip"
67            android:src="@drawable/ic_mp_artist_playback" />
68
69        <TextView android:id="@+id/artistname"
70            android:textSize="18sp"
71            android:singleLine="true"
72            android:ellipsize="end"
73            android:textStyle="bold"
74            android:layout_gravity="center_vertical"
75            android:layout_width="match_parent"
76            android:layout_height="wrap_content" />
77
78    </LinearLayout>
79
80    <LinearLayout
81        android:layout_width="match_parent"
82        android:layout_height="wrap_content"
83        android:orientation="horizontal"
84        android:baselineAligned="false"
85        android:paddingLeft="11dip"
86        android:paddingTop="4dip"
87        android:paddingBottom="8dip">
88
89        <ImageView
90            android:layout_width="wrap_content"
91            android:layout_height="wrap_content"
92            android:layout_marginRight="4dip"
93            android:src="@drawable/ic_mp_album_playback" />
94
95        <TextView android:id="@+id/albumname"
96            android:textSize="14sp"
97            android:singleLine="true"
98            android:ellipsize="end"
99            android:layout_gravity="center_vertical"
100            android:layout_width="match_parent"
101            android:layout_height="wrap_content" />
102
103    </LinearLayout>
104
105    <LinearLayout
106        android:layout_width="match_parent"
107        android:layout_height="wrap_content"
108        android:orientation="horizontal"
109        android:baselineAligned="false"
110        android:paddingLeft="11dip"
111        android:paddingTop="0dip"
112        android:paddingBottom="8dip">
113
114        <ImageView
115            android:layout_width="wrap_content"
116            android:layout_height="wrap_content"
117            android:layout_marginRight="4dip"
118            android:src="@drawable/ic_mp_song_playback" />
119
120        <TextView android:id="@+id/trackname"
121            android:textSize="14sp"
122            android:singleLine="true"
123            android:ellipsize="end"
124            android:layout_gravity="center_vertical"
125            android:layout_width="match_parent"
126            android:layout_height="wrap_content" />
127
128    </LinearLayout>
129
130    <include layout="@layout/audio_player_common" />
131
132</LinearLayout>
133