This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how to code firefox home screen having side panel in android

  • 3 iimpendulo
  • 2 inale ngxaki
  • 2 views
  • Impendulo yokugqibela ngu Kevin

more options

in FireFox Android Application, there is side panel comes while scroll horizontally the screen. I want to know, how this is implemented in android source code.

in FireFox Android Application, there is side panel comes while scroll horizontally the screen. I want to know, how this is implemented in android source code.

All Replies (3)

more options

We don't use Java for Firefox. The sidebars are created using a UI toolkit called XUL.

https://hg.mozilla.org/releases/mozilla-release/file/9f3cb9952ec4/mobile/chrome/content/browser.xul#l198

more options

Thanks for your response. But i am not able to understand this concept. Can you please share sample source code of this with respect to android?

Thanks in advance. Prafull

more options

Firefox is a C++/JavaScript/XUL application using the Android native development kit. This allows us to use our own UI controls that are cross platform. They have no Java analogue.

http://developer.android.com/sdk/ndk/index.html