This is a simple cross platform RadioButton.
I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal.
In B4I the animation is limited, because otherwise the circle would look too angular in the animation.
ASCheckbox
Author: Alexander Stolte
Version: 1.01


I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal.
B4j: jXUI
B4a: XUi,XUI Views
B4i: iXUI,XUI Views
B4a: XUi,XUI Views
B4i: iXUI,XUI Views
ASCheckbox
Author: Alexander Stolte
Version: 1.01
- ASRadioButton
- Events:
- CheckedChange (Checked As Boolean)
- Fields:
- g_Haptic As Boolean
- mBase As B4XView
- Tag As Object
- Functions:
- Class_Globals As String
- DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object - getChecked As Boolean
- Initialize (Callback As Object, EventName As String) As String
- IsInitialized As Boolean
Tests whether the object has been initialized. - setBorderWidth (width As Int) As String
- setChecked (b_checked As Boolean) As String
- setCheckedBackgroundColor (crl As Int) As String
- setUncheckedBackgroundColor (crl As Int) As String
- Properties:
- BorderWidth
- Checked As Boolean
- CheckedBackgroundColor
- UncheckedBackgroundColor
- Events:
- 1.00
- Release
- 1.01
- B4I Better Animations thanks to @Semen Matusovskiy
- Add getBase
- 1.02
- Add DisabledCheckedBackgroundColor property and designer property
- Add DisabledUnCheckedBackgroundColor property and designer property
- Add Enable property - enable or disable the view
- BugFixes
Attachments
-
178.3 KB Views: 66
-
2.6 KB Views: 67
Last edited: