Android Question Activity background color problem

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Hi,
I´ve trien.backgound but it does not work.
How to fix the activivty background color to black?
See image
 

Attachments

  • 2015-06-05-12-14-07[1].png
    2015-06-05-12-14-07[1].png
    216.4 KB · Views: 320

Alberto Michelis

Well-Known Member
Licensed User
Longtime 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
 
Upvote 0
Top