diff options
author | Daniel Sandler <dsandler@android.com> | 2010-04-09 08:41:27 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2010-04-12 15:19:35 -0400 |
commit | 73c7b9654f9b557015a41192af094325f507a0eb (patch) | |
tree | bbe588efd8bb05d5717cc45da5eba740efb07f72 /res/layout | |
parent | 1daa55f4f4bfc13dcb8bcf66d410f8a79ad05f5a (diff) | |
download | Protips-73c7b9654f9b557015a41192af094325f507a0eb.tar.gz |
Updated tip text and added an optional callout graphic.
Current tips:
1. See all your apps. [LAUNCHER ICON]
Touch the Launcher icon at the bottom of the screen.
2. Add items to your Home screen.
Touch & hold an empty spot to add shortcuts or widgets.
3. Rearrange your Home screen.
Touch & hold an item and when it vibrates, drag it
where you want.
4. Multiple Home screens.
Swipe left or right to switch. Move items to other
screens.
5. Remove items. [TRASH ICON]
Touch & hold an item and when it vibrates, drag it to
the Trash icon.
6. See notifications.
Pull the Status bar down from the top of the screen.
7. Configure your phone.
Press the Menu button and touch Settings.
Bug: 2559083
Change-Id: I7a034887e31c983f3a964dfec6f4836adda6a85d
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/widget.xml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/res/layout/widget.xml b/res/layout/widget.xml index 5e7d3df..43d8e85 100644 --- a/res/layout/widget.xml +++ b/res/layout/widget.xml @@ -19,7 +19,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:padding="8dip" + android:padding="5dip" > <ImageView @@ -42,15 +42,26 @@ android:visibility="invisible" android:background="@drawable/droid_widget" > + <ImageView + android:id="@+id/tip_callout" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:gravity="center" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:visibility="gone" + android:padding="4dip" + /> <TextView android:id="@+id/tip_header" style="@style/TipText.Header" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - android:layout_marginTop="2dip" - android:layout_marginLeft="3dip" + android:layout_toLeftOf="@id/tip_callout" + android:layout_alignWithParentIfMissing="true" + android:layout_marginTop="0dip" + android:layout_marginLeft="2dip" /> <TextView android:id="@+id/tip_message" @@ -58,8 +69,9 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/tip_header" - android:layout_marginTop="2sp" - android:layout_marginLeft="3dip" + android:layout_alignLeft="@id/tip_header" + android:layout_alignRight="@id/tip_header" + android:layout_marginTop="1dip" /> <TextView android:id="@+id/tip_footer" |