diff options
author | David Friedman <dmail@google.com> | 2015-08-20 08:31:07 -0700 |
---|---|---|
committer | David Friedman <dmail@google.com> | 2015-08-20 08:51:39 -0700 |
commit | 5389f46ce4245a6a0cfc931160ea13dab17f6590 (patch) | |
tree | 1fdd2da9420ba24d01a9a5cc81c106bd5e2d1015 /docs | |
parent | 56c22d29b8727e55073cede04b51e65eb6125b9f (diff) | |
download | frameworks_base-5389f46ce4245a6a0cfc931160ea13dab17f6590.zip frameworks_base-5389f46ce4245a6a0cfc931160ea13dab17f6590.tar.gz frameworks_base-5389f46ce4245a6a0cfc931160ea13dab17f6590.tar.bz2 |
Docs: Fixes to interactive-watch-face docs (CL 743190)
Change-Id: I2b9c7d7afbf5583da01808027869e1e98873c7d1
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/training/wearables/watch-faces/index.jd | 2 | ||||
-rw-r--r-- | docs/html/training/wearables/watch-faces/interacting.jd | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/training/wearables/watch-faces/index.jd b/docs/html/training/wearables/watch-faces/index.jd index b544636..a329fda 100644 --- a/docs/html/training/wearables/watch-faces/index.jd +++ b/docs/html/training/wearables/watch-faces/index.jd @@ -66,7 +66,7 @@ Drawing Watch Faces</a></dt> Showing Information in Watch Faces</a></dt> <dd>Learn how to incorporate contextual information into your watch face.</dd> <dt><a href="{@docRoot}training/wearables/watch-faces/interacting.html"> -Making Your Watch Face Interactive </a></dt> +Creating Interactive Watch Faces</a></dt> <dd>Learn how to enable the user to interact with your watch face.</dd> <dt><a href="{@docRoot}training/wearables/watch-faces/configuration.html"> Providing Configuration Activities</a></dt> diff --git a/docs/html/training/wearables/watch-faces/interacting.jd b/docs/html/training/wearables/watch-faces/interacting.jd index 4f2486c..5a44fde 100644 --- a/docs/html/training/wearables/watch-faces/interacting.jd +++ b/docs/html/training/wearables/watch-faces/interacting.jd @@ -62,10 +62,10 @@ implementation.</p> reserves gestures such as drag and long-press for system UI elements. Therefore, the system does not send raw touch events to the watch face. Instead, the system forwards specific commands to the <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTapCommand(int, int, int, long)"> -method. +onTapCommand()</a> method. <p>The system sends the first command, -<a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"</a> +<a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"> {@code TAP_TYPE_TOUCH}</a>, when the user initially touches the screen. This event lets you provide visual feedback to the user on touch. Your app should not launch a UI when this event triggers. Launching a UI prevents drag events from opening the app |