OSDN Git Service

Merge "es_ES: Add spanish translations" into cm-10.1
[android-x86/packages-apps-Eleven.git] / res / layout / app_widget_recents.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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18     android:layout_width="match_parent"
19     android:layout_height="match_parent"
20     android:layout_margin="0dp"
21     android:background="@color/action_bar_color" >
22
23     <RelativeLayout
24         android:id="@+id/app_widget_recents_action_bar"
25         android:layout_width="match_parent"
26         android:layout_height="@dimen/app_widget_recents_action_bar_height" >
27
28         <ImageView
29             android:id="@+id/app_widget_recents_icon"
30             android:layout_width="wrap_content"
31             android:layout_height="match_parent"
32             android:layout_centerVertical="true"
33             android:background="?android:selectableItemBackground"
34             android:contentDescription="@string/app_name"
35             android:padding="@dimen/app_widget_recents_action_bar_item_padding"
36             android:scaleType="centerInside"
37             android:src="@drawable/ic_launcher" />
38
39         <TextView
40             android:id="@+id/app_widget_recents_app_name"
41             android:layout_width="wrap_content"
42             android:layout_height="wrap_content"
43             android:layout_centerVertical="true"
44             android:layout_toRightOf="@+id/app_widget_recents_icon"
45             android:text="@string/page_recent"
46             android:textColor="@color/white"
47             android:textSize="@dimen/text_size_medium" />
48
49         <ImageButton
50             android:id="@+id/app_widget_recents_previous"
51             android:layout_width="@dimen/app_widget_recents_action_bar_height"
52             android:layout_height="match_parent"
53             android:layout_centerVertical="true"
54             android:layout_toLeftOf="@+id/app_widget_recents_play"
55             android:background="?android:selectableItemBackground"
56             android:contentDescription="@null"
57             android:scaleType="center"
58             android:src="@drawable/btn_playback_previous" />
59
60         <ImageButton
61             android:id="@+id/app_widget_recents_play"
62             android:layout_width="@dimen/app_widget_recents_action_bar_height"
63             android:layout_height="match_parent"
64             android:layout_centerVertical="true"
65             android:layout_toLeftOf="@+id/app_widget_recents_next"
66             android:background="?android:selectableItemBackground"
67             android:contentDescription="@null"
68             android:scaleType="center"
69             android:src="@drawable/btn_playback_play" />
70
71         <ImageButton
72             android:id="@+id/app_widget_recents_next"
73             android:layout_width="@dimen/app_widget_recents_action_bar_height"
74             android:layout_height="match_parent"
75             android:layout_alignParentRight="true"
76             android:layout_centerVertical="true"
77             android:background="?android:selectableItemBackground"
78             android:contentDescription="@null"
79             android:scaleType="center"
80             android:src="@drawable/btn_playback_next" />
81     </RelativeLayout>
82
83     <ImageView
84         android:id="@+id/colorstrip"
85         android:layout_width="match_parent"
86         android:layout_height="@dimen/colorstrip_height"
87         android:layout_below="@+id/app_widget_recents_action_bar"
88         android:background="@color/holo_blue_light"
89         android:contentDescription="@null" />
90
91     <FrameLayout
92         android:layout_width="match_parent"
93         android:layout_height="match_parent"
94         android:layout_below="@+id/colorstrip"
95         android:layout_centerVertical="true"
96         android:background="@drawable/appwidget_bg" >
97
98         <ListView
99             android:id="@+id/app_widget_recents_list"
100             android:layout_width="match_parent"
101             android:layout_height="match_parent"
102             android:background="@null"
103             android:cacheColorHint="@color/transparent" />
104     </FrameLayout>
105
106 </RelativeLayout>