diff options
author | Nick Pelly <npelly@google.com> | 2011-09-21 17:41:52 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-09-21 18:18:51 -0700 |
commit | 05a457eb28e8b33c401e600e352a052ad23ff8f6 (patch) | |
tree | 9dc557e6956a5ff7b7e2f789068ebcfda5e89292 /res/layout | |
parent | 90da9ab0f84df63e5cd1a2981645d649fd0303c5 (diff) | |
download | packages_apps_nfc-05a457eb28e8b33c401e600e352a052ad23ff8f6.zip packages_apps_nfc-05a457eb28e8b33c401e600e352a052ad23ff8f6.tar.gz packages_apps_nfc-05a457eb28e8b33c401e600e352a052ad23ff8f6.tar.bz2 |
Use 'Touch to beam' text. Increase font size. Center layouts.
Bug: 5350022
Change-Id: I803facfd2f50329771ad6eb6e608b91a94e9a6bb
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/screenshot.xml | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/res/layout/screenshot.xml b/res/layout/screenshot.xml index 9e62af7..6f3d302 100644 --- a/res/layout/screenshot.xml +++ b/res/layout/screenshot.xml @@ -23,37 +23,43 @@ android:layout_height="wrap_content" /> <ImageView android:id="@+id/back" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:adjustViewBounds="true" android:src="@drawable/back" android:scaleType="centerCrop" android:visibility="gone" /> - <RelativeLayout android:layout_width="match_parent" + <LinearLayout + android:layout_width="match_parent" android:layout_height="match_parent" + android:orientation="vertical" > <TextView android:id="@+id/calltoaction" - android:layout_width="fill_parent" - android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" android:text="@string/touch" android:gravity="center" - android:layout_alignParentTop="true" - android:textSize="18sp" - android:paddingTop="40dip" + android:textSize="28sp" android:visibility="gone" android:background="@null" android:textColor="?android:attr/textColorPrimary" /> - </RelativeLayout> + <View + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="4" + /> + </LinearLayout> <ImageView android:id="@+id/clone" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:adjustViewBounds="true" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" /> <ImageView android:id="@+id/screenshot" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:adjustViewBounds="true" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" /> </FrameLayout> |