summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-08-24 16:47:05 -0700
committerMartijn Coenen <maco@google.com>2011-08-24 16:52:54 -0700
commitbe7d37a1c6622c8907869fd30e9e6da73fd77290 (patch)
tree2802d37d71ce68841900c73fa3d4530401d63f92 /res/layout
parent69ca6627125c91c44b9e0d8bfa5df83281c2ebe1 (diff)
downloadpackages_apps_nfc-be7d37a1c6622c8907869fd30e9e6da73fd77290.zip
packages_apps_nfc-be7d37a1c6622c8907869fd30e9e6da73fd77290.tar.gz
packages_apps_nfc-be7d37a1c6622c8907869fd30e9e6da73fd77290.tar.bz2
Touch to send hint for NdefPush.
Show hint when: - First time sharing (until successful again). - 3 share failures (until successful again). - 3 seconds in p2p range and no confirmation (fade in). Change-Id: I413d45b76ee8588d4aa99351e34212ecc38d8f8e
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/screenshot.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/layout/screenshot.xml b/res/layout/screenshot.xml
index d02f29e..4d122a2 100644
--- a/res/layout/screenshot.xml
+++ b/res/layout/screenshot.xml
@@ -24,6 +24,20 @@
android:adjustViewBounds="true"
android:src="@drawable/p2p_bg"
/>
+ <RelativeLayout android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+ <TextView android:id="@+id/calltoaction"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/touch"
+ android:gravity="center"
+ android:layout_alignParentTop="true"
+ android:textSize="22sp"
+ android:paddingTop="50dip"
+ android:visibility="gone"
+ />
+ </RelativeLayout>
<ImageView android:id="@+id/screenshot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"