blob: b5d0908d4dc6d8f18bd097cc9f36920e2f6a3d09 [file] [log] [blame]
The Android Open Source Project792a2202009-03-03 19:32:30 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
Mike Clerona0fcf0f2009-10-26 23:29:38 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy5ae9f472010-01-08 15:07:04 -080018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070020 android:orientation="horizontal"
Jeff Sharkey7790a212009-08-06 21:41:42 -070021 android:background="@drawable/appwidget_bg">
The Android Open Source Project792a2202009-03-03 19:32:30 -080022
Mike Clerona0fcf0f2009-10-26 23:29:38 -070023 <LinearLayout
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070024 android:id="@+id/album_appwidget"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070025 android:layout_width="0dip"
26 android:layout_weight="3"
Romain Guy5ae9f472010-01-08 15:07:04 -080027 android:layout_height="match_parent"
Jeffrey Sharkey41e07cc2009-03-25 17:07:33 -070028 android:orientation="vertical"
29 android:gravity="center_vertical"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070030 android:clickable="true"
31 android:focusable="true"
32 android:background="@drawable/appwidget_button_left"
33 android:paddingLeft="18dip"
34 android:paddingRight="8dip"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070035 >
36
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070037 <TextView
38 android:id="@+id/title"
Romain Guy5ae9f472010-01-08 15:07:04 -080039 android:layout_width="match_parent"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070040 android:layout_height="wrap_content"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070041 android:textColor="@color/appwidget_text"
42 android:textStyle="bold"
43 android:textSize="18sp"
44 android:singleLine="true"
45 android:fadingEdge="horizontal"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070046 android:fadingEdgeLength="10dip"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070047 android:ellipsize="none"
48 />
49
50 <TextView
51 android:id="@+id/artist"
Romain Guy5ae9f472010-01-08 15:07:04 -080052 android:layout_width="match_parent"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070053 android:layout_height="wrap_content"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070054 android:textColor="@color/appwidget_text"
55 android:textSize="14sp"
56 android:singleLine="true"
57 android:fadingEdge="horizontal"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070058 android:fadingEdgeLength="10dip"
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070059 android:ellipsize="none"
60 />
Jeffrey Sharkey41e07cc2009-03-25 17:07:33 -070061 </LinearLayout>
Mike Clerona0fcf0f2009-10-26 23:29:38 -070062
63 <ImageView
64 android:layout_width="1dip"
Romain Guy5ae9f472010-01-08 15:07:04 -080065 android:layout_height="match_parent"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070066 android:background="@drawable/appwidget_divider"
67 />
68
69 <ImageButton
70 android:id="@+id/control_play"
71 android:layout_width="0dip"
72 android:layout_weight="1"
Romain Guy5ae9f472010-01-08 15:07:04 -080073 android:layout_height="match_parent"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070074 android:src="@drawable/ic_appwidget_music_play"
75 android:background="@drawable/appwidget_button_center"
76 android:scaleType="center"
77 />
Jeffrey Sharkey349c0202009-03-24 21:27:02 -070078
Mike Clerona0fcf0f2009-10-26 23:29:38 -070079 <ImageView
80 android:layout_width="1dip"
Romain Guy5ae9f472010-01-08 15:07:04 -080081 android:layout_height="match_parent"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070082 android:background="@drawable/appwidget_divider"
83 />
84
85 <ImageButton
86 android:id="@+id/control_next"
87 android:layout_width="0dip"
88 android:layout_weight="1"
Romain Guy5ae9f472010-01-08 15:07:04 -080089 android:layout_height="match_parent"
Mike Clerona0fcf0f2009-10-26 23:29:38 -070090 android:src="@drawable/ic_appwidget_music_next"
91 android:background="@drawable/appwidget_button_right"
92 android:scaleType="center"
93 />
94
95</LinearLayout>