WindowLayoutInfo
public
final
class
WindowLayoutInfo
extends Object
java.lang.Object
|
↳ |
androidx.window.WindowLayoutInfo
|
Contains the list of DisplayFeature
-s located within the window. For example, a hinge or
display fold can go across the window, in which case it might make sense to separate the
visual content and interactive elements into two groups, e.g. list-detail or view-controls.
Only the features that are present within the current window bounds are reported. Their
positions and sizes can change if the window is moved or resized on screen.
Summary
Nested classes |
class |
WindowLayoutInfo.Builder
Builder for WindowLayoutInfo objects.
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public methods
equals
public boolean equals (Object o)
getDisplayFeatures
public List<DisplayFeature> getDisplayFeatures ()
Gets the list of physical display features within the window.
hashCode
public int hashCode ()
toString
public String toString ()
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples/Code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-02 UTC.