Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 740eef52 authored by David Friedman's avatar David Friedman Committed by Android Git Automerger
Browse files

am 33074733: am 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to...

am 33074733: am 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '33074733':
  Docs: Fixes to interactive-watch-face docs (CL 743190)
parents 51e8df2e 33074733
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -66,7 +66,7 @@ Drawing Watch Faces</a></dt>
Showing Information in Watch Faces</a></dt>
Showing Information in Watch Faces</a></dt>
<dd>Learn how to incorporate contextual information into your watch face.</dd>
<dd>Learn how to incorporate contextual information into your watch face.</dd>
<dt><a href="{@docRoot}training/wearables/watch-faces/interacting.html">
<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>
<dd>Learn how to enable the user to interact with your watch face.</dd>
<dt><a href="{@docRoot}training/wearables/watch-faces/configuration.html">
<dt><a href="{@docRoot}training/wearables/watch-faces/configuration.html">
Providing Configuration Activities</a></dt>
Providing Configuration Activities</a></dt>
+2 −2
Original line number Original line Diff line number Diff line
@@ -62,10 +62,10 @@ implementation.</p>
reserves gestures such as drag and long-press for system UI elements.
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
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)">
<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,
<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
{@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
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
launch a UI when this event triggers. Launching a UI prevents drag events from opening the app