OSDN Git Service

Add some (optional) debug logging to the player service.
[android-x86/packages-apps-Eleven.git] / res / layout / app_widget_large.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2012 Andrew Neal
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 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
18     xmlns:tools="http://schemas.android.com/tools"
19     android:layout_width="match_parent"
20     android:layout_height="@dimen/app_widget_large_min_height"
21     android:columnCount="2"
22     android:rowCount="3"
23     android:background="@drawable/appwidget_bg"
24     tools:ignore="ContentDescription" >
25
26     <ImageView
27         android:id="@+id/app_widget_large_image"
28         android:layout_width="@dimen/notification_expanded_height"
29         android:layout_height="@dimen/notification_expanded_height"
30         android:layout_rowSpan="3"
31         android:layout_marginBottom="@dimen/app_widget_bottom_margin"
32         android:background="@drawable/default_artwork"
33         android:scaleType="fitXY" />
34
35     <LinearLayout
36         android:id="@+id/app_widget_large_info_container"
37         android:layout_width="0dp"
38         android:layout_gravity="fill"
39         android:gravity="center_vertical"
40         android:orientation="vertical"
41         android:paddingLeft="@dimen/notification_info_container_padding_left" >
42
43         <TextView
44             android:id="@+id/app_widget_large_line_one"
45             style="@style/NotificationText"
46             android:textColor="@color/white"
47             android:textSize="@dimen/text_size_medium"
48             android:textStyle="bold" />
49
50         <TextView
51             android:id="@+id/app_widget_large_line_two"
52             style="@style/NotificationText"
53             android:textColor="@color/transparent_white"
54             android:textSize="@dimen/text_size_small" />
55
56         <TextView
57             android:id="@+id/app_widget_large_line_three"
58             style="@style/NotificationText"
59             android:textColor="@color/transparent_white"
60             android:textSize="@dimen/text_size_small" />
61     </LinearLayout>
62
63     <ImageView
64         android:layout_width="0dp"
65         android:layout_gravity="fill_horizontal"
66         android:background="?android:dividerHorizontal" />
67
68     <LinearLayout
69         android:id="@+id/app_widget_large_buttons"
70         android:layout_width="0dp"
71         android:layout_gravity="fill_horizontal"
72         android:layout_marginBottom="@dimen/app_widget_bottom_margin"
73         android:divider="?android:listDivider"
74         android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
75         android:gravity="center_vertical"
76         android:orientation="horizontal"
77         android:showDividers="middle" >
78
79         <ImageButton
80             android:id="@+id/app_widget_large_previous"
81             android:layout_width="0dp"
82             android:layout_height="@dimen/notification_expanded_button_height"
83             android:layout_weight="1"
84             android:background="?android:selectableItemBackground"
85             android:contentDescription="@string/accessibility_prev"
86             android:padding="@dimen/notification_expanded_button_padding"
87             android:scaleType="fitCenter"
88             android:src="@drawable/btn_playback_previous" />
89
90         <ImageButton
91             android:id="@+id/app_widget_large_play"
92             android:layout_width="0dp"
93             android:layout_height="@dimen/notification_expanded_button_height"
94             android:layout_weight="1"
95             android:background="?android:selectableItemBackground"
96             android:padding="@dimen/notification_expanded_button_padding"
97             android:scaleType="fitCenter"
98             android:src="@drawable/btn_playback_pause" />
99
100         <ImageButton
101             android:id="@+id/app_widget_large_next"
102             android:layout_width="0dp"
103             android:layout_height="@dimen/notification_expanded_button_height"
104             android:layout_weight="1"
105             android:background="?android:selectableItemBackground"
106             android:contentDescription="@string/accessibility_next"
107             android:padding="@dimen/notification_expanded_button_padding"
108             android:scaleType="fitCenter"
109             android:src="@drawable/btn_playback_next" />
110     </LinearLayout>
111
112 </GridLayout>