• 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="fill_parent"
19    android:layout_height="fill_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="wrap_content"
33        android:orientation="horizontal"
34        android:layout_gravity="center_horizontal">
35
36       <ImageButton android:id="@+id/curplaylist"
37            android:src="@drawable/ic_mp_current_playlist_btn"
38            android:layout_width="85dip"
39            android:layout_height="54dip" />
40
41       <ImageButton android:id="@+id/shuffle"
42            android:layout_width="85dip"
43            android:layout_height="54dip"
44            android:layout_marginLeft="19dip" />
45
46       <ImageButton android:id="@+id/repeat"
47            android:layout_width="85dip"
48            android:layout_height="54dip"
49            android:layout_marginLeft="19dip" />
50
51    </LinearLayout>
52
53    <LinearLayout
54        android:layout_width="fill_parent"
55        android:layout_height="wrap_content"
56        android:orientation="horizontal"
57        android:baselineAligned="false"
58        android:paddingLeft="11dip"
59        android:paddingTop="2dip"
60        android:paddingBottom="4dip">
61
62        <ImageView
63            android:layout_width="wrap_content"
64            android:layout_height="wrap_content"
65            android:layout_marginRight="4dip"
66            android:src="@drawable/ic_mp_artist_playback" />
67
68        <TextView android:id="@+id/artistname"
69            android:textSize="18sp"
70            android:singleLine="true"
71            android:ellipsize="end"
72            android:textStyle="bold"
73            android:layout_gravity="center_vertical"
74            android:layout_width="fill_parent"
75            android:layout_height="wrap_content" />
76
77    </LinearLayout>
78
79    <LinearLayout
80        android:layout_width="fill_parent"
81        android:layout_height="wrap_content"
82        android:orientation="horizontal"
83        android:baselineAligned="false"
84        android:paddingLeft="11dip"
85        android:paddingTop="4dip"
86        android:paddingBottom="8dip">
87
88        <ImageView
89            android:layout_width="wrap_content"
90            android:layout_height="wrap_content"
91            android:layout_marginRight="4dip"
92            android:src="@drawable/ic_mp_album_playback" />
93
94        <TextView android:id="@+id/albumname"
95            android:textSize="14sp"
96            android:singleLine="true"
97            android:ellipsize="end"
98            android:layout_gravity="center_vertical"
99            android:layout_width="fill_parent"
100            android:layout_height="wrap_content" />
101
102    </LinearLayout>
103
104    <LinearLayout
105        android:layout_width="fill_parent"
106        android:layout_height="wrap_content"
107        android:orientation="horizontal"
108        android:baselineAligned="false"
109        android:paddingLeft="11dip"
110        android:paddingTop="0dip"
111        android:paddingBottom="8dip">
112
113        <ImageView
114            android:layout_width="wrap_content"
115            android:layout_height="wrap_content"
116            android:layout_marginRight="4dip"
117            android:src="@drawable/ic_mp_song_playback" />
118
119        <TextView android:id="@+id/trackname"
120            android:textSize="14sp"
121            android:singleLine="true"
122            android:ellipsize="end"
123            android:layout_gravity="center_vertical"
124            android:layout_width="fill_parent"
125            android:layout_height="wrap_content" />
126
127    </LinearLayout>
128
129    <include layout="@layout/audio_player_common" />
130
131</LinearLayout>
132