Android Question Icon in the top bar

Discussion in 'Android Questions' started by Isac, Jan 29, 2015.

  1. Isac

    Isac Active Member Licensed User

    hello everyone

    I need to bring up an icon in the top bar when an event triggers
    I tried to use this, but I do not see anything
    Code:
    Sub Globals
    Dim n As Notification
    -------
    --------
    Sub Button1_Click
    n.Initialize
    n.Icon=
    "icon"
    end sub
    thank you
     
  2. NJDude

    NJDude Expert Licensed User

    You are missing the Notify and SetInfo, read THIS
     
    Isac and thedesolatesoul like this.
  3. Isac

    Isac Active Member Licensed User

    Thanks NJDude,
    The icon appears in the notifications to me, I would rather see the icon on the display at the top.
     
  4. NJDude

    NJDude Expert Licensed User

    I don't understand what you mean, when a notification is triggered it appears on the status bar, not exactly know what you mean by "I would rather see the icon on the display at the top"
     
  5. Isac

    Isac Active Member Licensed User

    you're right I solved with a ImageView.
    thanks again
     
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