This library create alpha view black that blocks all content from an activity.
DSAlphaLockView
Author: DevSlim
Version: 1.00
DSAlphaLockView
Author: DevSlim
Version: 1.00
- DSAlphaLockView
- Events:
- _Click
- Fields:
- Alpha As Int
- Elevation As Int
- Alpha 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
- CreateLayout (Left As Int, Top As Int, Width As Int, Height As Int) As Panel
- Events:
Attachments
Last edited: