public @interface

LayoutElementBuilders.ArcAnchorType

implements java.lang.annotation.Annotation

 androidx.wear.tiles.builders.LayoutElementBuilders.ArcAnchorType

Overview

The anchor position of an LayoutElementBuilders.Arc's elements. This is used to specify how elements added to an LayoutElementBuilders.Arc should be laid out with respect to anchor_angle.

As an example, assume that the following diagrams are wrapped to an arc, and each represents an LayoutElementBuilders.Arc element containing a single LayoutElementBuilders.Text element. The LayoutElementBuilders.Text element's anchor_angle is "0" for all cases.

 ARC_ANCHOR_START:
 -180                                0                                    180
                                     Hello World!


 ARC_ANCHOR_CENTER:
 -180                                0                                    180
                                Hello World!

 ARC_ANCHOR_END:
 -180                                0                                    180
                          Hello World!

 

Summary