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
const val LARGE_ROUND: String
Round device with 227x227dp (454x454px) dimensions, 1.39" size and xhdpi density.
RECT
const val RECT: String
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
const val SMALL_ROUND: String
Round device with 192x192dp (384x384px) dimensions, 1.2" size and xhdpi density.
SQUARE
const val SQUARE: String
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.