Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

how to code firefox home screen having side panel in android

  • 3 svar
  • 2 har detta problem
  • 2 visningar
  • Senaste svar av 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.

Alla svar (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