diff --git a/docs/html/training/wearables/ui/cards.jd b/docs/html/training/wearables/ui/cards.jd index 0633720f7759f..21f7e5c81e109 100644 --- a/docs/html/training/wearables/ui/cards.jd +++ b/docs/html/training/wearables/ui/cards.jd @@ -167,3 +167,9 @@ protected void onCreate(Bundle savedInstanceState) { cardScrollView.setCardGravity(Gravity.BOTTOM); } + +
CardScrollView detects the shape of the screen and displays the card differently
+on round and square devices, using wider side margins on round screens. However,
+placing the CardScrollView element inside a BoxInsetLayout and using the
+layout_box="bottom" attribute is useful to align the card to the bottom of round
+screens without cropping its content.
For design guidelines on exiting Android Wear activities, see +
For design guidelines about exiting Android Wear activities, see Breaking out of the card.
diff --git a/docs/html/training/wearables/ui/lists.jd b/docs/html/training/wearables/ui/lists.jd index 54585411c024e..e8aaed4e5eb94 100644 --- a/docs/html/training/wearables/ui/lists.jd +++ b/docs/html/training/wearables/ui/lists.jd @@ -172,8 +172,9 @@ specifies the layout parameters of each of the components inside a list item. Th definition uses the custom layout implementation from the previous section and defines an icon and a text view whose IDs match those in the layout implementation class: +res/layout/list_item.xml
+
-<-- res/layout/list_item.xml -->
<com.example.android.support.wearable.notifications.WearableListItemLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="center_vertical"