3

So i have this idea to create an activity that have only buttons which split the screen as presented in the picture:

enter image description here

I was thinking about creating some functions for each button. those functions will be dependent on the y and x axis of the screen.

Can you guys give me a direction on how to do this in a manner of using the Button and imageButton widgets in my activity.java file?

Naveen Tamrakar
  • 3,349
  • 1
  • 19
  • 28
kitsuneFox
  • 1,243
  • 3
  • 18
  • 31
  • 3
    I think the best way to achieve this is implementing your own custom view and handle all clicks that you want to fire specific events yourself. – Anatol Dec 31 '14 at 09:50
  • Coustem View is The Best for This.............. – Naveen Tamrakar Dec 31 '14 at 09:51
  • 1
    check [this](http://stackoverflow.com/questions/25396194/creating-a-triangular-shaped-button-for-android-application).Maybe you could do a similar thing for all the ImageButtons and overlap them accordingly? – Droidekas Dec 31 '14 at 10:04

0 Answers0