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

AHDashboard

Written by Markus Stipp

This library provides a special layout object like a Panel. The items
added to the AHDashboard object are evenly distributed horizontally and
vertically.

This object inherits all methods from a standard B4A view but the
documentation can not be inherited from it. So for some methods the
documentation is missing. Please refer to a standard B4A View for a
complete explanation.

List of types:

AHDashboard

AHDashboard


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

None

Members:


  AddView (View As android.view.View, Width As Int, Height As Int)

  Background As android.graphics.drawable.Drawable

  BringToFront

  Color As Int [write only]

  Enabled As Boolean

  GetView (Index As Int) As ConcreteViewWrapper

  Height As Int

  Initialize (arg1 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

  NumberOfViews As Int [read only]

  RemoveView

  RemoveViewAt (Index As Int)

  RequestFocus As Boolean

  SendToBack

  SetBackgroundImage (arg0 As android.graphics.Bitmap)

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

  Tag As Object

  Top As Int

  Visible As Boolean

  Width As Int

Members description:

AddView (View As android.view.View, Width As Int, Height As Int)
Add a view to the dashboard

There are no parameters for top or left since the
view is positioned automatically.

View - The View to add
Width - The width of the view to add
Height - The height of the view to add
Background As android.graphics.drawable.Drawable
BringToFront
Color As Int [write only]
Enabled As Boolean
GetView (Index As Int) As ConcreteViewWrapper
Get the view at the specified index.

Index - The index of the view to get.
Height As Int
Initialize (arg1 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
NumberOfViews As Int [read only]
Gets the number of views on the Dashboard.
RemoveView
RemoveViewAt (Index As Int)
Remove the specified view from the AHDashboard

Index - Index of the view to be removed.
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As android.graphics.Bitmap)
SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
Tag As Object
Top As Int
Visible As Boolean
Width As Int

Top