B4A Library DSAlphaLockView

Discussion in 'Additional libraries, classes and official updates' started by Andre Souza, Jul 3, 2018.

  1. Andre Souza

    Andre Souza Member Licensed User

    This library create alpha view black that blocks all content from an activity.

    [​IMG]



    DSAlphaLockView

    Author: DevSlim
    Version: 1.00
    • DSAlphaLockView
      • Events:
        • _Click
      • Fields:
        • Alpha As Int
        • Elevation As Int
      • Functions:
        • CreateLayout (Left As Int, Top As Int, Width As Int, Height As Int) As Panel
          Create layout
          Note: Call function after function Lock
          Example
          CreateLayout(20dip, 100dip, 300dip, 200dip)
        • CreateLayoutCenterPadding (Padding As Int) As Panel
          Create layout in center with space padding similar
          Note: Call function after function Lock
          Example
          CreateLayoutCenter(25dip)
        • CreateLayoutCenterSize (Width As Int, Height As Int) As Panel
          Create layout center with reference width x height
          Note: Call function after function Lock
          Examples
          CreateLayoutCenterSize(350dip, 450dip)
          CreateLayoutCenterSize(80%x, 85%y)
        • Initialize (Activity As Activity, Target As Object, EventName As String)
          Initialize class
          Example
          Initialize(Activity, Me, "ALV")
        • IsInitialized As Boolean
          Tests whether the object has been initialized.
        • IsLocked As Boolean
          Return lock is active
        • Lock
          Lock activity with alpha effect
        • Unlock
          Unlocked effect alpha in activity
     

    Attached Files:

    Last edited: Jul 3, 2018
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice