Class VeeplayInsets

java.lang.Object
com.appscend.utilities.VeeplayInsets

public final class VeeplayInsets extends Object
Edge-to-edge and immersive helpers for the player's windows.
  • Method Details

    • edgeToEdge

      public static void edgeToEdge(android.view.Window window)
      Lets the window draw behind the system bars; pair with applyAsPadding(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)