Sub Globals
Private IconHome As Bitmap 'Estas variables servirán para cargar iconos en nuestro TabHost
Private IconComputers As Bitmap
Private IconReports As Bitmap
Private TabHost1 As TabHost
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("est_main")
IconHome = LoadBitmap(File.DirAssets, "home.png") 'Asignamos a las variables el archivo png de nuestro ícono
IconComputers = LoadBitmap(File.DirAssets, "computers.png")
IconReports = LoadBitmap(File.DirAssets, "reports.png")
TabHost1.AddTabWithIcon("", IconHome, IconHome, "est_welcom.bal") 'Mostramos los íconos en el TabHost
TabHost1.AddTabWithIcon("", IconComputers, IconComputers, "est_labs.bal")
TabHost1.AddTabWithIcon("", IconReports, IconReports, "est_reports.bal")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub