From c6fabc0c1743aa0089a31b99151d4171a5eba403 Mon Sep 17 00:00:00 2001 From: sreevanis Date: Wed, 16 Mar 2016 12:37:38 -0700 Subject: [PATCH] docs: Noted how apps behave differntly on devices without buttons. Bug:20199623 Change-Id: If92183e0a2353e3e6dff0deebece886263be7670 --- docs/html/training/wearables/apps/always-on.jd | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/html/training/wearables/apps/always-on.jd b/docs/html/training/wearables/apps/always-on.jd index d38497408f364..9f28b709473f7 100644 --- a/docs/html/training/wearables/apps/always-on.jd +++ b/docs/html/training/wearables/apps/always-on.jd @@ -140,11 +140,16 @@ public void onCreate(Bundle savedInstanceState) {

If the user does not interact with your app for a period of time while it is displayed, or if the user covers the screen with their palm, the system switches the activity to ambient mode. After the app switches to ambient mode, update the activity UI to a more basic layout to reduce -power consumption. You should use a black background with minimal white graphics and text. To -ease a user into the transition from interactive to ambient mode, try to maintain similar placement -of items on the screen. For more information on presenting content on an ambient screen, see the +power consumption. You should use a black background with minimal white graphics and text. + To ease a user into the transition from interactive to ambient mode, try to maintain similar + placement of items on the screen. For more information on presenting content on an ambient screen, + see the Watch Faces for Android Wear -design guide. +design guide.

+

Note that when your app runs on a device without a hardware button, palming the screen does not +switch an app into ambient mode. Rather, it causes the app to exit and the home screen to appear. +This behavior is intended to ensure that users can exit apps gracefully. However, these devices still + go to ambient mode when the screen times out.

Note: In ambient mode, disable any interactive elements on the