summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-08-22 17:17:41 +0200
committerMartijn Coenen <maco@google.com>2011-08-24 15:05:45 -0700
commit69ca6627125c91c44b9e0d8bfa5df83281c2ebe1 (patch)
treeeb341b659530a1710ca5da55ab22d31e9f4beaf6 /res
parent3714e3430e3f44578d7799d163809ad0a77f7460 (diff)
downloadpackages_apps_nfc-69ca6627125c91c44b9e0d8bfa5df83281c2ebe1.zip
packages_apps_nfc-69ca6627125c91c44b9e0d8bfa5df83281c2ebe1.tar.gz
packages_apps_nfc-69ca6627125c91c44b9e0d8bfa5df83281c2ebe1.tar.bz2
NdefPush animations.
- Sound + vibration whenever devices enter range. - Rebuilt old send animation - clone off in the background. - Scale back up for receive, then call startActivity(). - Slowed down animations - Split sending in two parts: first part is slow and played during the actual send. When the send is done, the animation is accelerated and finished. This has as an advantage that there is an immediate response to the touch (instead of waiting till the send is done). - Lock rotation. TODO: - Integrate firefly background. - Touch to send hint. - Tweak debounce time - somehow it still happens a lot that the link is tore down, the debounce comes in, and the link comes back up again just after 750ms, causing flapping anyway. - After a lot of tapping things seem to become very slow; I'm not sure yet if this is due to NFC or other ICS code. - See if we can really do without TYPE_SYSTEM_OVERLAY window params. Change-Id: I93d472ed566b8201b65e9eee049467995f66e683
Diffstat (limited to 'res')
-rw-r--r--res/layout/screenshot.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/layout/screenshot.xml b/res/layout/screenshot.xml
index e29aff4..d02f29e 100644
--- a/res/layout/screenshot.xml
+++ b/res/layout/screenshot.xml
@@ -29,4 +29,9 @@
android:layout_height="wrap_content"
android:adjustViewBounds="true"
/>
+ <ImageView android:id="@+id/clone"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ />
</FrameLayout>