Press on the image to return to the main documentation page.
ICOSGallery
Written by Giuseppe Salvi
List of types:
ICOSGallery
ICOSGallery
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
ItemClick (Position As Int, Value As Object)
ItemLongClick (Position As Int, Value As Object)
Members:
AddBitmap
(
Bitmap
As
android.graphics.
Bitmap
)
AddText
(Text1
As
CharSequence)
AddTextAndBitmap
(Text1
As
CharSequence,
Bitmap
As
android.graphics.
Bitmap
)
AddTwoText
(Text1
As
CharSequence, Text2
As
CharSequence)
AddTwoTextAndBitmap
(Text1
As
CharSequence, Text2
As
CharSequence,
Bitmap
As
android.graphics.
Bitmap
)
Background
As
android.graphics.drawable.Drawable
BringToFront
Clear
Color
As
Int
[write only]
dispatchSetSelected
(Selected
As
Boolean
)
Enabled
As
Boolean
GetItem
(Index
As
Int
)
As
Object
Gravity
As
Int
[write only]
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
RemoveAt
(Index
As
Int
)
RemoveView
RequestFocus
As
Boolean
SendToBack
SetBackgroundImage
(arg0
As
android.graphics.
Bitmap
)
SetLayout
(arg0
As
Int
, arg1
As
Int
, arg2
As
Int
, arg3
As
Int
)
Spacing
As
Int
[write only]
Tag
As
Object
Top
As
Int
Visible
As
Boolean
Width
As
Int
Members description:
AddBitmap (
Bitmap
As
android.graphics.
Bitmap
)
Add only Bitmap
Example:
gallery.AddBitmap(LoadBitmap(File.DirAssets,"icon.png))
AddText (Text1
As
CharSequence)
Add single Text
Example:
gallery.AddText("Hello")
AddTextAndBitmap (Text1
As
CharSequence,
Bitmap
As
android.graphics.
Bitmap
)
Add Text and Bitmap
Example:
gallery.AddTextAndBitmap("Hello",LoadBitmap(File.DirAssets,"icon.png))
AddTwoText (Text1
As
CharSequence, Text2
As
CharSequence)
Add Two Text
Example:
gallery.AddTwoText("Hello","Basic4Android)
AddTwoTextAndBitmap (Text1
As
CharSequence, Text2
As
CharSequence,
Bitmap
As
android.graphics.
Bitmap
)
Add Two Text and Bitmap
Example:
gallery.AddTwoTextAndBitmap("Hello","Basic4Android",LoadBitmap(File.DirAssets,"icon.png))
Background
As
android.graphics.drawable.Drawable
BringToFront
Clear
Clear all item from the Gallery
Color
As
Int
[write only]
dispatchSetSelected (Selected
As
Boolean
)
Dispatch setSelected to all of this View's children.
Enabled
As
Boolean
GetItem (Index
As
Int
)
As
Object
Return the value of the item at specified position in a Gallery
Gravity
As
Int
[write only]
Describes how the child views are aligned.
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
RemoveAt (Index
As
Int
)
Remove the item at specified position in a Gallery
RemoveView
RequestFocus
As
Boolean
SendToBack
SetBackgroundImage (arg0
As
android.graphics.
Bitmap
)
SetLayout (arg0
As
Int
, arg1
As
Int
, arg2
As
Int
, arg3
As
Int
)
Spacing
As
Int
[write only]
Sets the spacing between items in a Gallery
Examples:
gallery.Spacing=24
Tag
As
Object
Top
As
Int
Visible
As
Boolean
Width
As
Int
Top