0

I need to code for a circular scrollable layout.(see attached image). I am wondering, which layout i can use to achieve this? Please suggest some approach or links.

cheers...enter image description here

Kamal
  • 1,415
  • 13
  • 24

2 Answers2

2

This is something similar to what you are looking for. Its an android implimentation of the round Path-App menu:

https://github.com/daCapricorn/ArcMenu - Apache 2.0

https://github.com/siyamed/android-satellite-menu/ - LGPL

It should look something like the menu in the left corner: path

Ahmad
  • 69,608
  • 17
  • 111
  • 137
1

I suggest not using layout at all.

Use SurfaceView instead.

SurfaceView is very easy to use. See the official Lunar Lander code example. To see SurfaceView in action.

Amir Uval
  • 14,425
  • 4
  • 50
  • 74
  • can i get onClickListeners or touchListeners on buttons/images drawn in surface view. – Kamal Aug 11 '12 at 07:43
  • You receive onTouch events with parameters: x,y, up/down/drag and you need to manage yourself which image is pressed, and draw the proper image in its location, draw a different icon for "pressed" state, etc. – Amir Uval Aug 11 '12 at 07:46
  • 1
    why -1? It *is* the best approach IMO. Please explain, or whoever did this is a troll – Amir Uval Aug 11 '12 at 07:47
  • Don't get it eather this was the only useful so far... Fixed that @uval – Ahmad Aug 11 '12 at 08:12