OSDN Git Service

2f3019ff7ec09761488874d0139e6925b9852a79
[android-x86/packages-apps-Music.git] / res / layout-land-notouch / music_library.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     <LinearLayout
23         android:layout_width="fill_parent"
24         android:layout_height="0dip"
25         android:layout_weight="1"
26         android:paddingTop="37dip"
27         android:paddingLeft="12dip"
28         android:paddingRight="12dip"
29         android:orientation="horizontal"
30         >
31
32         <Button
33             android:id="@+id/browse_button"
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:background="@drawable/main_menu_button"
37             android:drawableTop="@drawable/ic_mp_screen_artists"
38             android:text="@string/browse_menu"
39             android:ellipsize="marquee"
40             android:textAppearance="?android:attr/textAppearanceMedium"
41             android:textColor="?android:attr/textColorPrimaryDisableOnly"
42             android:singleLine="true"
43             android:layout_marginBottom="35dip"
44             android:layout_marginRight="10dip"
45         />
46
47         <Button
48             android:id="@+id/albums_button"
49             android:layout_width="wrap_content"
50             android:layout_height="wrap_content"
51             android:background="@drawable/main_menu_button"
52             android:drawableTop="@drawable/ic_mp_screen_albums"
53             android:text="@string/albums_menu"
54             android:ellipsize="marquee"
55             android:textAppearance="?android:attr/textAppearanceMedium"
56             android:textColor="?android:attr/textColorPrimaryDisableOnly"
57             android:singleLine="true"
58             android:layout_marginBottom="35dip"
59             android:layout_marginRight="10dip"
60         />
61
62         <Button
63             android:id="@+id/tracks_button"
64             android:layout_width="wrap_content"
65             android:layout_height="wrap_content"
66             android:background="@drawable/main_menu_button"
67             android:drawableTop="@drawable/ic_mp_screen_tracks"
68             android:text="@string/tracks_menu"
69             android:ellipsize="marquee"
70             android:textAppearance="?android:attr/textAppearanceMedium"
71             android:textColor="?android:attr/textColorPrimaryDisableOnly"
72             android:singleLine="true"
73             android:layout_marginBottom="35dip"
74             android:layout_marginRight="10dip"
75         />
76
77         <Button
78             android:id="@+id/playlists_button"
79             android:layout_width="wrap_content"
80             android:layout_height="wrap_content"
81             android:background="@drawable/main_menu_button"
82             android:drawableTop="@drawable/ic_mp_screen_playlists"
83             android:text="@string/playlists_menu"
84             android:ellipsize="marquee"
85             android:textAppearance="?android:attr/textAppearanceMedium"
86             android:textColor="?android:attr/textColorPrimaryDisableOnly"
87             android:singleLine="true"
88             android:layout_marginBottom="35dip"
89         />
90
91     </LinearLayout>
92
93     <LinearLayout
94         android:id="@+id/nowplaying"
95         android:layout_width="fill_parent"
96         android:layout_height="64dip"
97         android:focusable="true"
98         android:visibility="invisible"
99         android:orientation="vertical">
100
101         <ImageView
102             android:layout_width="fill_parent"
103             android:layout_height="wrap_content"
104             android:background="@android:drawable/divider_horizontal_dark" />
105
106         <LinearLayout
107             android:layout_width="fill_parent"
108             android:layout_height="fill_parent"
109             android:orientation="horizontal"
110             android:layout_marginLeft="12dip"
111             android:layout_marginRight="12dip">
112
113             <LinearLayout
114                 android:layout_width="0dip"
115                 android:layout_weight="1"
116                 android:layout_height="wrap_content"
117                 android:layout_gravity="center_vertical"
118                 android:orientation="vertical">
119
120                 <TextView
121                     android:id="@+id/title"
122                     android:textAppearance="?android:attr/textAppearanceMedium"
123                     android:singleLine="true"
124                     android:ellipsize="end"
125                     android:layout_width="fill_parent"
126                     android:layout_height="wrap_content"
127                 />
128                 <TextView
129                     android:id="@+id/artist"
130                     android:textAppearance="?android:attr/textAppearanceSmall"
131                     android:singleLine="true"
132                     android:ellipsize="end"
133                     android:layout_width="fill_parent"
134                     android:layout_height="wrap_content"
135                 />
136             </LinearLayout>
137
138             <ImageView android:id="@+id/icon"
139                 android:layout_width="wrap_content"
140                 android:layout_height="wrap_content"
141                 android:layout_gravity="center_vertical"
142                 android:background="@drawable/indicator_ic_mp_playing_large"
143             />
144
145         </LinearLayout>
146     </LinearLayout>
147 </LinearLayout>
148