-
- All Implemented Interfaces:
public class WindowDpSizeCopyright 2022 Google LLC. SPDX-License-Identifier: Apache-2.0
Breakpoints defines the screen size at which a layout will adapt to best fit content and conform to responsive layout requirements. A breakpoint range informs how a screen adjusts to fit its size and orientation.
Compact: Most phones in portrait mode Medium: Most foldables and tablets in portrait mode Expanded: Most tablets in landscape mode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWindowDpSize.Compactpublic final classWindowDpSize.Mediumpublic final classWindowDpSize.Expanded
-
Field Summary
Fields Modifier and Type Field Description private final DpSizewindowSize
-
Method Summary
Modifier and Type Method Description final DpSizegetWindowSize()-
-
Method Detail
-
getWindowSize
final DpSize getWindowSize()
-
-
-
-