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!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

how to code firefox home screen having side panel in android

  • 3 odgovora
  • 2 imaju ovaj problem
  • 2 prikaza
  • Posljednji odgovor od 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.

Svi odgovori (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