Jul 3, 2018 This library create alpha view black that blocks all content from an activity. 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 Attachments DSAlphaLockViewEx.zip DSAlphaLockViewEx.zip 14.5 KB · Views: 539 DSAlphaLockView_v1.0.zip DSAlphaLockView_v1.0.zip 3.5 KB · Views: 544 Last edited: Jul 3, 2018 Click to expand...
This library create alpha view black that blocks all content from an activity. 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