WatchFace.OverlayStyle
public final class WatchFace.OverlayStyle
This class allows the watch face to configure the status overlay which is rendered by the system on top of the watch face.
Note: This is not a supported API and will be removed.
Summary
Public constructors |
|---|
|
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
Public methods |
|
|---|---|
boolean |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
final Color |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
final Color |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
int |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
@NonNull String |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
Public constructors
Public methods
public final ColorgetBackgroundColor()
The background color of the status indicator tray. This can be any color, including Color.TRANSPARENT. If this is null then the system default will be used.
public final ColorgetForegroundColor()
The background color of items rendered in the status indicator tray. If not null then this must be either Color.BLACK or Color.WHITE. If this is null then the system default will be used.