Android Question Activity background color problem

Discussion in 'Android Questions' started by Alberto Michelis, Jun 5, 2015.

  1. Alberto Michelis

    Alberto Michelis Active Member Licensed User

    Hi,
    I´ve trien.backgound but it does not work.
    How to fix the activivty background color to black?
    See image
     

    Attached Files:

  2. DonManfred

    DonManfred Expert Licensed User

    Set the color of the activity in designer. Otherwise export and zip your project and upload it. Without seeing code it is hard to help
     
  3. Alberto Michelis

    Alberto Michelis Active 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
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice