ImageButtonsView
ImageButtonsView
Events:
- Click (ButtonId as String As )
- LongClick (ButtonId as String As )
Fields:
- LAYOUT_HORIZONTAL As Int
- LAYOUT_VERTICAL As Int
Methods:
- BringToFront
- GetButtonEnabled (ButtonId As String) As Boolean
Get whether a button is enabled.
- Initialize (EventName As String, Layout As Int, ButtonDrawableIds() As String)
Initialize the object.
Layout has two possible values:
LAYOUT_HORIZONTAL
LAYOUT_VERTICAL
ButtonDrawableIds is an array of String resource identifiers.
Each element in the array should be the resource name of a Drawable in your project's Drawable folder.
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetBackgroundImage (arg0 As Bitmap)
- SetButtonEnabled (ButtonId As String, Enabled As Boolean)
Set whether a button is enabled.
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- Left As Int
- Tag As Object
- Top As Int
- UserButtonsVisible As Boolean
Get or Set the visibility of the user added buttons.
- Visible As Boolean
- Width As Int