WindowInsetsCompat.Type
public
static
final
class
WindowInsetsCompat.Type
extends Object
java.lang.Object
|
↳ |
androidx.core.view.WindowInsetsCompat.Type
|
Class that defines different types of sources causing window insets.
Summary
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
captionBar
public static int captionBar ()
Returns |
int |
An insets type representing the window of a caption bar.
|
ime
public static int ime ()
Returns |
int |
An insets type representing the window of an InputMethod .
|
mandatorySystemGestures
public static int mandatorySystemGestures ()
navigationBars
public static int navigationBars ()
Returns |
int |
An insets type representing any system bars for navigation.
|
statusBars
public static int statusBars ()
Returns |
int |
An insets type representing any system bars for displaying status.
|
systemBars
public static int systemBars ()
systemGestures
public static int systemGestures ()
Returns an insets type representing the system gesture insets.
The system gesture insets represent the area of a window where system gestures have
priority and may consume some or all touch input, e.g. due to the a system bar
occupying it, or it being reserved for touch-only gestures.
Simple taps are guaranteed to reach the window even within the system gesture insets,
as long as they are outside the system window insets
.
When View.SYSTEM_UI_FLAG_LAYOUT_STABLE
is requested, an inset will be returned
even when the system gestures are inactive due to
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
or
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
.
tappableElement
public static int tappableElement ()