Android Programming Press on the image to return to the main documentation page.

IconButton

List of types:

IconButton

IconButton


Events:

Click()
LongClick()
Down()
Up()
HoverEnter()
HoverExit()

Members:


  AddToParent (Parent As android.view.ViewGroup, left As Int, top As Int, width As Int, height As Int)

  ba As BA

  Background As android.graphics.drawable.Drawable

  BackgroundColor As Int [write only]

  BackgroundDrawable As android.graphics.drawable.Drawable [write only]

  BringToFront

  Color As Int [write only]

  DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)

  Enabled As Boolean

  Height As Int

  IconPadding As Int [write only]

  Initialize (EventName As String)

  Invalidate

  Invalidate2 (arg0 As android.graphics.Rect)

  Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)

  IsInitialized As Boolean

  Left As Int

  RemoveView

  RequestFocus As Boolean

  SendToBack

  SetBackgroundImage (arg0 As android.graphics.Bitmap)

  SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)

  setIcon (LeftSide As Boolean, d As android.graphics.drawable.Drawable)

  SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)

  SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)

  setPadding (left As Int, top As Int, right As Int, bottom As Int)

  SetVisibleAnimated (arg0 As Int, arg1 As Boolean)

  Tag As Object

  Text As String [write only]

  TextAlignment As Int [write only]

  TextColor As Int [write only]

  Top As Int

  Typeface As android.graphics.Typeface

  Visible As Boolean

  Width As Int

Members description:

AddToParent (Parent As android.view.ViewGroup, left As Int, top As Int, width As Int, height As Int)
programmatically add the view (the Button)
ba As BA
Background As android.graphics.drawable.Drawable
Sets the Buttons background
BackgroundColor As Int [write only]
Sets the Buttons background color
BackgroundDrawable As android.graphics.drawable.Drawable [write only]
Sets the Buttons background drawable (deprecated)
BringToFront
Color As Int [write only]
DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
Enabled As Boolean
Sets the Buttons enabled state
Height As Int
IconPadding As Int [write only]
Set the Padding between Text and Icon
Initialize (EventName As String)
Invalidate
Invalidate2 (arg0 As android.graphics.Rect)
Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
IsInitialized As Boolean
Left As Int
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As android.graphics.Bitmap)
SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
setIcon (LeftSide As Boolean, d As android.graphics.drawable.Drawable)
SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
setPadding (left As Int, top As Int, right As Int, bottom As Int)
Sets the Padding for this Button
SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
Tag As Object
Text As String [write only]
Set the Text
TextAlignment As Int [write only]
Sets the Alignment for this Button
TextColor As Int [write only]
Sets the Textcolor for this Button
Top As Int
Typeface As android.graphics.Typeface
Sets the Typeface for this Button
Visible As Boolean
Width As Int

Top