diff options
author | Nick Pelly <npelly@google.com> | 2011-08-17 22:23:12 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-08-17 23:52:25 -0700 |
commit | 5438ab0e17064e20870ac893a2dd2b9e1219eef1 (patch) | |
tree | 706f865c371256b2f5c9a4786f2e42477c907204 /res/layout/screenshot.xml | |
parent | 0ea442671a5b3c178f522214c8d854b8021c7606 (diff) | |
download | packages_apps_nfc-5438ab0e17064e20870ac893a2dd2b9e1219eef1.zip packages_apps_nfc-5438ab0e17064e20870ac893a2dd2b9e1219eef1.tar.gz packages_apps_nfc-5438ab0e17064e20870ac893a2dd2b9e1219eef1.tar.bz2 |
0-click UI update
o New start sound
o Vibrate only when
- starting send
- send success
- receive success
o Play sound only when
- starting send
- send success
- send failure (out of range before complete)
- receive success
o Introduce HoldingItWrongUi with the new image
o P2pAnimationActivity -> SendUi, and a huge cleanup of it
- no longer an activity. It took 350ms to inflate the views on
first onCreate() as an activity, but we can cache this ahead
of time as a window.
- Use ObjectAnimator instead of ViewAnimator, much less code
o Use ACCELEROMETER instead of GRAVITY to get faster tilt detection.
TODO (in order of priority)
o LLCP has started crashing a lot again. About 1/10 times I come into
P2P range the stack crashes now on my Nexus S TMO.
At first I thought it was because I was doing animations during LLCP
send, which might affect timing to pn544 due to CPU load. So I changed
my first implementation (one animation) to split it into a pre-send
and post-send, so we don't do any work during the actual send. Still
seems to crash though. We really need to make it solid again.
o Change notification text and settings text+image as per Rachel's email
o Do some simple low-pass filter on ACCELEROMETER so we don't get caught
out when the user shakes the phone
o Plumb through a starting receive callback, and play sound + vibrate
o Prevent touch during send animations. Not a big deal right now because
we complete it so fast.
o Prevent notification shade from being pulled during HoldingItWrongUi
and SendUi
o Prevent orientation change during SendUi
Change-Id: Ieec1efb741244c68270e34a712c15c58621b1446
Diffstat (limited to 'res/layout/screenshot.xml')
-rw-r--r-- | res/layout/screenshot.xml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/res/layout/screenshot.xml b/res/layout/screenshot.xml index 9f27b7f..e29aff4 100644 --- a/res/layout/screenshot.xml +++ b/res/layout/screenshot.xml @@ -24,29 +24,9 @@ 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:textSize="35px" - android:layout_alignParentTop="true" - android:paddingTop="30dip" - android:gravity="center" - /> - </RelativeLayout> - - <ImageView android:id="@+id/clone" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:adjustViewBounds="true" - /> <ImageView android:id="@+id/screenshot" android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" /> - </FrameLayout> |