搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how to code firefox home screen having side panel in android

  • 3 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 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.

所有回覆 (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