OSDN Git Service

6d68f4dc8b3ea38580362f96fb58fc093517c0ff
[android-x86/packages-apps-Music.git] / res / layout-land-notouch / audio_player.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 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
23     <!-- This is the LinearLayout that contains the album art, function buttons and album/artist/track info -->
24     <LinearLayout
25         android:layout_width="fill_parent"
26         android:layout_height="0dip"
27         android:layout_weight="1"
28         android:orientation="horizontal">
29
30         <ImageView
31             android:id="@+id/album"
32             android:background="@drawable/album_border_large"
33             android:layout_width="183dip"
34             android:layout_height="183dip"
35             android:layout_marginLeft="12dip"
36             android:layout_marginRight="15dip"
37             android:layout_marginTop="12dip" />
38
39         <!-- This is the LinearLayout that contains function buttons and album/artist/track info -->
40         <LinearLayout
41             android:layout_width="0dip"
42             android:layout_height="wrap_content"
43             android:layout_weight="1"
44             android:orientation="vertical">
45
46             <LinearLayout
47                 android:layout_width="fill_parent"
48                 android:layout_height="wrap_content"
49                 android:orientation="horizontal"
50                 android:paddingTop="20dip" >
51
52                <ImageButton android:id="@+id/curplaylist"
53                     android:src="@drawable/ic_mp_current_playlist_btn"
54                     android:layout_width="82dip"
55                     android:layout_height="45dip"
56                     android:layout_marginRight="8dip" />
57
58                <ImageButton android:id="@+id/shuffle"
59                     android:layout_width="82dip"
60                     android:layout_height="45dip"
61                     android:layout_marginRight="8dip" />
62
63                <ImageButton android:id="@+id/repeat"
64                     android:layout_width="82dip"
65                     android:layout_height="45dip" />
66
67             </LinearLayout>
68
69             <LinearLayout
70                 android:layout_width="fill_parent"
71                 android:layout_height="wrap_content"
72                 android:orientation="horizontal"
73                 android:baselineAligned="false"
74                 android:paddingTop="8dip"
75                 android:paddingBottom="2dip">
76
77                 <ImageView
78                     android:layout_width="wrap_content"
79                     android:layout_height="wrap_content"
80                     android:layout_marginRight="4dip"
81                     android:src="@drawable/ic_mp_artist_playback" />
82
83                 <TextView android:id="@+id/artistname"
84                     android:textSize="18sp"
85                     android:singleLine="true"
86                     android:ellipsize="end"
87                     android:textStyle="bold"
88                     android:layout_gravity="center_vertical"
89                     android:layout_width="fill_parent"
90                     android:layout_height="wrap_content" />
91
92             </LinearLayout>
93
94             <LinearLayout
95                 android:layout_width="fill_parent"
96                 android:layout_height="wrap_content"
97                 android:orientation="horizontal"
98                 android:baselineAligned="false"
99                 android:paddingTop="8dip"
100                 android:paddingBottom="2dip">
101
102                 <ImageView
103                     android:layout_width="wrap_content"
104                     android:layout_height="wrap_content"
105                     android:layout_marginRight="4dip"
106                     android:src="@drawable/ic_mp_album_playback" />
107
108                 <TextView android:id="@+id/albumname"
109                     android:textSize="14sp"
110                     android:singleLine="true"
111                     android:ellipsize="end"
112                     android:textStyle="bold"
113                     android:layout_gravity="center_vertical"
114                     android:layout_width="fill_parent"
115                     android:layout_height="wrap_content" />
116
117             </LinearLayout>
118
119             <LinearLayout
120                 android:layout_width="fill_parent"
121                 android:layout_height="wrap_content"
122                 android:orientation="horizontal"
123                 android:baselineAligned="false"
124                 android:paddingTop="4dip"
125                 android:paddingBottom="2dip">
126
127                 <ImageView
128                     android:layout_width="wrap_content"
129                     android:layout_height="wrap_content"
130                     android:layout_marginRight="4dip"
131                     android:src="@drawable/ic_mp_song_playback" />
132
133                 <TextView android:id="@+id/trackname"
134                     android:textSize="14sp"
135                     android:singleLine="true"
136                     android:ellipsize="end"
137                     android:textStyle="bold"
138                     android:layout_gravity="center_vertical"
139                     android:layout_width="fill_parent"
140                     android:layout_height="wrap_content" />
141
142             </LinearLayout>
143
144         </LinearLayout>
145
146     </LinearLayout>
147
148     <include layout="@layout/audio_player_common" />
149
150 </LinearLayout>