OSDN Git Service

theme engine fixes
[android-x86/packages-apps-Eleven.git] / res / layout / 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     <LinearLayout
26         android:layout_width="match_parent"
27         android:layout_height="0dip"
28         android:layout_weight="1" >
29
30         <ImageView
31             android:id="@+id/album"
32             android:layout_width="match_parent"
33             android:layout_height="match_parent"
34             android:scaleType="fitXY" />
35
36         <ImageView
37             android:id="@+id/album_dummy"
38             android:layout_width="match_parent"
39             android:layout_height="match_parent"
40             android:scaleType="fitXY"
41             android:visibility="gone" />
42     </LinearLayout>
43
44     <LinearLayout
45         android:layout_width="match_parent"
46         android:layout_height="wrap_content"
47         android:baselineAligned="false"
48         android:orientation="horizontal"
49         android:paddingBottom="6dip"
50         android:paddingLeft="11dip"
51         android:paddingTop="4dip" >
52
53         <TextView
54             android:id="@+id/trackname"
55             android:layout_width="match_parent"
56             android:layout_height="wrap_content"
57             android:layout_gravity="center_vertical"
58             android:ellipsize="end"
59             android:shadowColor="#ff000000"
60             android:shadowDx="0"
61             android:shadowDy="0"
62             android:shadowRadius="3"
63             android:singleLine="true"
64             android:textColor="#ffffffff"
65             android:textSize="19sp"
66             android:textStyle="bold" />
67     </LinearLayout>
68
69     <LinearLayout
70         android:layout_width="match_parent"
71         android:layout_height="wrap_content"
72         android:baselineAligned="false"
73         android:orientation="horizontal"
74         android:paddingBottom="10dip"
75         android:paddingLeft="13dip"
76         android:paddingTop="4dip" >
77
78         <TextView
79             android:id="@+id/albumname"
80             android:layout_width="match_parent"
81             android:layout_height="wrap_content"
82             android:layout_gravity="center_vertical"
83             android:ellipsize="end"
84             android:shadowColor="#ff000000"
85             android:shadowDx="0"
86             android:shadowDy="0"
87             android:shadowRadius="3"
88             android:singleLine="true"
89             android:textColor="#ff999999"
90             android:textSize="16sp" />
91     </LinearLayout>
92
93     <LinearLayout
94         android:layout_width="match_parent"
95         android:layout_height="wrap_content"
96         android:baselineAligned="false"
97         android:orientation="horizontal"
98         android:paddingBottom="2dip"
99         android:paddingTop="4dip"
100         android:visibility="gone" >
101
102         <TextView
103             android:id="@+id/artistname"
104             android:layout_width="match_parent"
105             android:layout_height="wrap_content"
106             android:layout_gravity="center_vertical"
107             android:ellipsize="end"
108             android:singleLine="true"
109             android:textSize="14sp"
110             android:textStyle="bold" />
111     </LinearLayout>
112
113     <include layout="@layout/audio_player_common" />
114
115 </LinearLayout>