Package com.adapty.ui

Class AdaptyPaywallInsets

    • Constructor Detail

    • Method Detail

      • getStart

         final Integer getStart()

        Additional left margin in pixels for LTR and right margin for RTL layouts

      • getTop

         final Integer getTop()

        Additional top margin in pixels. Useful when the status bar overlaps the paywall screen

      • getEnd

         final Integer getEnd()

        Additional right margin in pixels for LTR and left margin for RTL layouts

      • getBottom

         final Integer getBottom()

        Additional bottom margin in pixels. Useful when the navigation bar overlaps the paywall screen

      • of

         final static AdaptyPaywallInsets of(Integer start, Integer top, Integer end, Integer bottom)
        Parameters:
        start - Additional left margin in pixels for LTR and right margin for RTL layouts
        top - Additional top margin in pixels.
        end - Additional right margin in pixels for LTR and left margin for RTL layouts
        bottom - Additional bottom margin in pixels.
      • horizontal

         final static AdaptyPaywallInsets horizontal(Integer start, Integer end)
        Parameters:
        start - Additional left margin in pixels for LTR and right margin for RTL layouts
        end - Additional right margin in pixels for LTR and left margin for RTL layouts