StockAdaptivenessBucket

A bucket is a specification of a range of screen sizes. A specific screen size falls in one of the nine stock adaptiveness buckets. The UI will be adapted to a single specification. The screen size ranges have an upper and lower bound for its supported screen sizes both in the horizontal and vertical dimension and will not overlap other ranges.

The table below shows the stock layout resource IDs per bucket. Note that some buckets have the same layout resource.

|        | NARROW                | STANDARD              | WIDE                       |
|--------|-----------------------|-----------------------|----------------------------|
| SHORT | ttivi_systemui_short | ttivi_systemui_short | ttivi_systemui_short |
| MEDIUM | ttivi_systemui_medium | ttivi_systemui_medium | ttivi_systemui_medium_wide |
| TALL | ttivi_systemui_tall | ttivi_systemui_tall | ttivi_systemui_wide_tall |

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun getStockLayoutInflateFunction(): (LayoutInflater) -> ViewDataBinding

Returns the layout inflate function for the StockAdaptivenessBucket.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.