WearDevices


object WearDevices


List with the pre-defined devices available to be used in previews.

Summary

Constants

const String

Round device with 227x227dp (454x454px) dimensions, 1.39" size and xhdpi density.

const String

Rectangular device with 201x238dp (402x476px) dimensions, 1.2" size and xhdpi density.

const String

Round device with 192x192dp (384x384px) dimensions, 1.2" size and xhdpi density.

const String

Square device with 180x180dp (360x360px) dimensions, 1.2" size and xhdpi density.

Constants

LARGE_ROUND

Added in 1.0.0
const val LARGE_ROUNDString

Round device with 227x227dp (454x454px) dimensions, 1.39" size and xhdpi density.

RECT

Added in 1.0.0
const val RECTString

Rectangular device with 201x238dp (402x476px) dimensions, 1.2" size and xhdpi density. If you are targeting Wear 3 or later, it is recommended to use LARGE_ROUND or SMALL_ROUND instead.

SMALL_ROUND

Added in 1.0.0
const val SMALL_ROUNDString

Round device with 192x192dp (384x384px) dimensions, 1.2" size and xhdpi density.

SQUARE

Added in 1.0.0
const val SQUAREString

Square device with 180x180dp (360x360px) dimensions, 1.2" size and xhdpi density. If you are targeting Wear 3 or later, it is recommended to use LARGE_ROUND or SMALL_ROUND instead.