Custom GUI in Android

I have a question related to GUI design in android.
If you look at the Android design architecture, we have a table structure in the design. We can draw buttons in rows and columns, we can draw an image and much more, but all that we will do in the matrix. As mentioned in this next image. enter image description here

But I saw a lot of interesting GUI in Android, which looks very beautiful and does not look like a traditional design (in matrix form).

Check the image with the buttons in a zigzag fashion. I drew a red square on it. enter image description here

, onclick . , . , , . .

+5
3

, drawable rotate canvas . Docs. - , , , .

+3

, , Android. , . . , . , , , , Button onDraw , .

0

, , - .

:

http://blahti.wordpress.com/2012/06/26/images-with-clickable-areas/

, : , . , 3 , 3 3 (, , , ).

An image with colored shapes will not be visible, but when in onclick mode you will see the color of the pixel that is clicked. Since each touchable area is different from the color, you can find out what place on the screen is touched.

That sounds like an interesting idea. Give the article read. Hope this helps.

0
source

All Articles