We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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 replies
  • 2 have this problem
  • 2 views
  • Last reply by 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