OSDN Git Service

theme engine fixes
[android-x86/packages-apps-Eleven.git] / res / layout-land / audio_player.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2007 The Android Open Source Project
4
5      Licensed under the Apache License, Version 2.0 (the "License");
6      you may not use this file except in compliance with the License.
7      You may obtain a copy of the License at
8   
9           http://www.apache.org/licenses/LICENSE-2.0
10   
11      Unless required by applicable law or agreed to in writing, software
12      distributed under the License is distributed on an "AS IS" BASIS,
13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14      See the License for the specific language governing permissions and
15      limitations under the License.
16 -->
17
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     android:id="@+id/now_playing_bg"
20     android:layout_width="match_parent"
21     android:layout_height="match_parent"
22     android:background="@drawable/player_background"
23     android:orientation="vertical" >
24
25     <!-- This is the LinearLayout that contains the album art, function buttons and album/artist/track info -->
26
27     <LinearLayout
28         android:layout_width="match_parent"
29         android:layout_height="0dip"
30         android:layout_weight="1"
31         android:orientation="horizontal" >
32
33         <ImageView
34             android:id="@+id/album"
35             android:layout_width="196dip"
36             android:layout_height="match_parent"
37             android:scaleType="fitXY" />
38         <ImageView
39             android:id="@+id/album_dummy"
40             android:layout_width="196dip"
41             android:layout_height="match_parent"
42             android:scaleType="fitXY"
43             android:visibility="gone" />
44
45         <!-- This is the LinearLayout that contains function buttons and album/artist/track info -->
46
47         <LinearLayout
48             android:layout_width="0dip"
49             android:layout_height="match_parent"
50             android:layout_weight="1.0"
51             android:gravity="center|bottom"
52             android:orientation="vertical"
53             android:paddingLeft="10dip" >
54
55             <LinearLayout
56                 android:layout_width="match_parent"
57                 android:layout_height="wrap_content"
58                 android:baselineAligned="false"
59                 android:orientation="horizontal"
60                 android:paddingBottom="2dip"
61                 android:paddingTop="8dip" >
62
63                 <TextView
64                     android:id="@+id/trackname"
65                     android:layout_width="match_parent"
66                     android:layout_height="wrap_content"
67                     android:layout_gravity="center_vertical"
68                     android:ellipsize="end"
69                     android:shadowColor="#ff000000"
70                     android:shadowDx="0"
71                     android:shadowDy="0"
72                     android:shadowRadius="3"
73                     android:singleLine="true"
74                     android:textColor="@color/ics"
75                     android:textSize="21sp"
76                     android:textStyle="normal" />
77             </LinearLayout>
78
79             <LinearLayout
80                 android:id="@+id/artistname_holder"
81                 android:layout_width="match_parent"
82                 android:layout_height="wrap_content"
83                 android:baselineAligned="false"
84                 android:orientation="horizontal"
85                 android:paddingBottom="2dip"
86                 android:paddingTop="4dip" >
87
88                 <TextView
89                     android:id="@+id/artistname"
90                     android:layout_width="match_parent"
91                     android:layout_height="wrap_content"
92                     android:layout_gravity="center_vertical"
93                     android:ellipsize="end"
94                     android:shadowColor="#ff000000"
95                     android:shadowDx="0"
96                     android:shadowDy="0"
97                     android:shadowRadius="3"
98                     android:singleLine="true"
99                     android:textColor="@color/ics"
100                     android:textSize="21sp"
101                     android:textStyle="normal" />
102             </LinearLayout>
103
104             <LinearLayout
105                 android:layout_width="match_parent"
106                 android:layout_height="wrap_content"
107                 android:baselineAligned="false"
108                 android:orientation="horizontal"
109                 android:paddingBottom="2dip"
110                 android:paddingTop="4dip" >
111
112                 <TextView
113                     android:id="@+id/albumname"
114                     android:layout_width="match_parent"
115                     android:layout_height="wrap_content"
116                     android:layout_gravity="center_vertical"
117                     android:ellipsize="end"
118                     android:shadowColor="#ff000000"
119                     android:shadowDx="0"
120                     android:shadowDy="0"
121                     android:shadowRadius="3"
122                     android:singleLine="true"
123                     android:textColor="@color/ics"
124                     android:textSize="21sp"
125                     android:textStyle="normal" />
126             </LinearLayout>
127         </LinearLayout>
128     </LinearLayout>
129
130     <include layout="@layout/audio_player_common" />
131
132 </LinearLayout>