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="match_parent" 19 android:layout_height="match_parent" 20 android:orientation="vertical"> 21 22 <LinearLayout 23 android:layout_width="match_parent" 24 android:layout_height="0dip" 25 android:layout_weight="1" 26 android:orientation="horizontal" 27 android:gravity="center"> 28 29 <ImageView 30 android:id="@+id/album" 31 android:background="@drawable/album_border_large" 32 android:layout_width="220dip" 33 android:layout_height="220dip" 34 android:layout_marginLeft="4dip" 35 android:layout_marginRight="2dip" 36 android:layout_marginTop="8dip" /> 37 38 <LinearLayout 39 android:layout_width="0dip" 40 android:layout_height="wrap_content" 41 android:layout_weight="1" 42 android:orientation="vertical" 43 android:gravity="center_horizontal"> 44 45 <ImageButton android:id="@+id/curplaylist" 46 android:src="@drawable/ic_mp_current_playlist_btn" 47 android:layout_width="85dip" 48 android:layout_height="54dip" 49 android:layout_marginTop="14dip" /> 50 51 <ImageButton android:id="@+id/shuffle" 52 android:layout_width="85dip" 53 android:layout_height="54dip" 54 android:layout_marginTop="20dip" /> 55 56 <ImageButton android:id="@+id/repeat" 57 android:layout_width="85dip" 58 android:layout_height="54dip" 59 android:layout_marginTop="20dip" /> 60 61 </LinearLayout> 62 63 </LinearLayout> 64 65 <LinearLayout android:id="@+id/trackinfo" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:orientation="vertical"> 69 <LinearLayout 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:orientation="horizontal" 73 android:baselineAligned="false" 74 android:paddingLeft="11dip" 75 android:paddingTop="4dip" 76 android:paddingBottom="8dip"> 77 78 <ImageView 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:layout_marginRight="4dip" 82 android:src="@drawable/ic_mp_artist_playback" /> 83 84 <TextView android:id="@+id/artistname" 85 android:textSize="18sp" 86 android:singleLine="true" 87 android:ellipsize="end" 88 android:textStyle="bold" 89 android:layout_gravity="center_vertical" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" /> 92 93 </LinearLayout> 94 95 <LinearLayout 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:orientation="horizontal" 99 android:baselineAligned="false" 100 android:paddingLeft="11dip" 101 android:paddingTop="4dip" 102 android:paddingBottom="8dip"> 103 104 <ImageView 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:layout_marginRight="4dip" 108 android:src="@drawable/ic_mp_album_playback" /> 109 110 <TextView android:id="@+id/albumname" 111 android:textSize="14sp" 112 android:singleLine="true" 113 android:ellipsize="end" 114 android:layout_gravity="center_vertical" 115 android:layout_width="match_parent" 116 android:layout_height="wrap_content" /> 117 118 </LinearLayout> 119 120 <LinearLayout 121 android:layout_width="match_parent" 122 android:layout_height="wrap_content" 123 android:orientation="horizontal" 124 android:baselineAligned="false" 125 android:paddingLeft="11dip" 126 android:paddingTop="0dip" 127 android:paddingBottom="8dip"> 128 129 <ImageView 130 android:layout_width="wrap_content" 131 android:layout_height="wrap_content" 132 android:layout_marginRight="4dip" 133 android:src="@drawable/ic_mp_song_playback" /> 134 135 <TextView android:id="@+id/trackname" 136 android:textSize="14sp" 137 android:singleLine="true" 138 android:ellipsize="end" 139 android:layout_gravity="center_vertical" 140 android:layout_width="match_parent" 141 android:layout_height="wrap_content" /> 142 143 </LinearLayout> 144 </LinearLayout> 145 146 <include layout="@layout/audio_player_common" /> 147 148 </LinearLayout> 149