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

XmlLayoutBuilder

List of types:

XmlLayoutBuilder

XmlLayoutBuilder


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

Events:

None

Members:


  GetDrawable (Name As String) As android.graphics.drawable.Drawable

  GetResourceId (Type As String, Name As String) As Int

  GetString (Name As String) As String

  GetView (Name As String) As android.view.View

  LoadAnimation (Name As String, AnimationEventName As String) As AnimationWrapper

  LoadXmlLayout (Parent As android.view.ViewGroup, LayoutFile As String)

Members description:

GetDrawable (Name As String) As android.graphics.drawable.Drawable
Returns the drawable object with the given ID.
GetResourceId (Type As String, Name As String) As Int
Gets the resource ID of the resource with the given type and name.
GetString (Name As String) As String
Returns the string with the given ID.
GetView (Name As String) As android.view.View
Returns the view with the given ID.
LoadAnimation (Name As String, AnimationEventName As String) As AnimationWrapper
Loads an animation object from the Xml file with the given name.
AnimationEventName - The Animation event name.
LoadXmlLayout (Parent As android.view.ViewGroup, LayoutFile As String)
Loads an Xml layout file and adds the layout to the given parent.
Top