Android Question Activity background color problem

Alberto Michelis

Well-Known Member
Licensed User
The color is setted in the designer...

Code:

'Activity.LoadLayout("PortIt")
Activity.LoadLayout("precios") ' Loads "Page1" layout file
Activity.Title = "PortIt - Precios"
Activity.Color = Colors.Black

Activity.AddMenuItem("Posición","mnuPage1") ' Adds menu item mnuPage1
Activity.AddMenuItem("Precios","mnuPage2") ' Adds menu item mnuPage2
Activity.AddMenuItem("Favoritos","mnuPage3") ' Adds menu item mnuPage3

sSectores.Add("Lider")
sSectores.Add("General")
sSectores.Add("Bonos")
sSectores.Add("Opciones")

Precios.Initialize(Me, "Precios")
PanelPrecios.AddView(Precios.AsView, 0, 0, 100%x, PanelPrecios.Height)
PanelPrecios.Visible=False
PanelPrecios.Color=Colors.Black

thanks
 
Top