1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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:id="@+id/tip_bubble"
19    android:layout_width="fill_parent"
20    android:layout_height="wrap_content"
21    android:layout_toLeftOf="@+id/bugdroid"
22    android:layout_centerVertical="true"
23    android:gravity="center_vertical|left"
24    android:layout_marginRight="2dip"
25    android:visibility="invisible"
26    android:background="@drawable/droid_widget"
27    android:focusable="true"
28    >
29    <TextView
30        android:layout_width="0dip"
31        android:layout_height="0dip"
32        android:layout_alignParentTop="true"
33        android:layout_marginTop="-100dip"
34        android:text="@string/widget_name"
35        />
36    <TextView
37        android:layout_width="0dip"
38        android:layout_height="0dip"
39        android:layout_alignParentTop="true"
40        android:layout_marginTop="-90dip"
41        android:text="@string/tts_pause"
42        />
43    <TextView
44        android:id="@+id/tip_footer"
45        style="@style/TipText.Footer"
46        android:layout_width="wrap_content"
47        android:layout_height="wrap_content"
48        android:layout_alignParentBottom="true"
49        android:layout_alignParentRight="true"
50        android:layout_marginRight="1dip"
51        />
52    <ImageView
53        android:id="@+id/tip_callout"
54        android:layout_width="wrap_content"
55        android:layout_height="fill_parent"
56        android:gravity="center"
57        android:layout_alignParentTop="true"
58        android:layout_alignParentRight="true"
59        android:layout_above="@id/tip_footer"
60        android:visibility="gone"
61        android:padding="4dip"
62        />
63    <TextView
64        android:id="@+id/tip_header"
65        style="@style/TipText.Header"
66        android:layout_width="fill_parent"
67        android:layout_height="wrap_content"
68        android:layout_alignParentTop="true"
69        android:layout_toLeftOf="@id/tip_callout"
70        android:layout_alignWithParentIfMissing="true"
71        android:layout_marginTop="0dip"
72        android:layout_marginLeft="3dip"
73        />
74    <TextView
75        android:id="@+id/tip_message"
76        style="@style/TipText.Message"
77        android:layout_width="fill_parent"
78        android:layout_height="wrap_content"
79        android:layout_below="@id/tip_header"
80        android:layout_alignLeft="@id/tip_header"
81        android:layout_alignRight="@id/tip_header"
82        android:layout_marginTop="1dip"
83        />
84</RelativeLayout>
85
86