global_actions_item.xml revision 3dec7d563a2f3e1eb967ce2054a00b6620e3558c
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="fill_parent"
19    android:layout_height="?android:attr/listPreferredItemHeight"
20
21    android:paddingLeft="11dip"
22    android:paddingTop="6dip"
23    android:paddingBottom="6dip"
24    >
25
26    <ImageView android:id="@+id/icon"
27        android:layout_width="wrap_content"
28        android:layout_height="fill_parent"
29        android:layout_alignParentTop="true"
30        android:layout_alignParentBottom="true"
31        android:layout_marginRight="9dip"
32            />
33
34
35    <TextView android:id="@+id/status"
36        android:layout_width="fill_parent"
37        android:layout_height="26dip"
38
39        android:layout_toRightOf="@id/icon"
40        android:layout_alignParentBottom="true"
41        android:layout_alignParentRight="true"
42
43        android:textAppearance="?android:attr/textAppearanceSmallInverse"
44        />
45
46
47    <TextView android:id="@+id/message"
48        android:layout_width="fill_parent"
49        android:layout_height="wrap_content"
50
51        android:layout_toRightOf="@id/icon"
52        android:layout_alignParentRight="true"
53        android:layout_alignParentTop="true"
54        android:layout_above="@id/status"
55        android:layout_alignWithParentIfMissing="true"
56        android:gravity="center_vertical"
57        android:textAppearance="?android:attr/textAppearanceLargeInverse"
58        />
59
60
61</RelativeLayout>
62