Class VeeplayInsets
java.lang.Object
com.appscend.utilities.VeeplayInsets
Edge-to-edge and immersive helpers for the player's windows.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyAsPadding(android.view.View view) Pads the view by the system-bar and cutout insets, on top of its own padding.static voidapplyCutoutAsPadding(android.view.View view) Pads the view by the cutout insets only, for windows whose system bars are hidden.static voidedgeToEdge(android.view.Window window) Lets the window draw behind the system bars; pair withapplyAsPadding(View).static voidhideSystemBars(android.view.Window window) static voidlayoutInShortEdges(android.view.Window window) static voidshowSystemBars(android.view.Window window)
-
Method Details
-
edgeToEdge
public static void edgeToEdge(android.view.Window window) Lets the window draw behind the system bars; pair withapplyAsPadding(View). -
applyAsPadding
public static void applyAsPadding(android.view.View view) Pads the view by the system-bar and cutout insets, on top of its own padding. -
applyCutoutAsPadding
public static void applyCutoutAsPadding(android.view.View view) Pads the view by the cutout insets only, for windows whose system bars are hidden. -
hideSystemBars
public static void hideSystemBars(android.view.Window window) -
showSystemBars
public static void showSystemBars(android.view.Window window) -
layoutInShortEdges
public static void layoutInShortEdges(android.view.Window window)
-