My goal is to edit a Button so that it's shape is a little triangle with the shape of < and >.
Shape 1 Shape 2
/| |\
/ | | \
/ | | \
/ | | \
/ | | \
\ | | /
\ | | /
\ | | /
\ | | /
\| |/
I never edited the painting process of a Button
, so I am kind of lost. I have used Canvas
and done some games by overwriting painting functions in Java, however, it's not clear for me how to proceed to achieve this in Android. I know I wil have to do the following things:
Button
I will just use something like the answer in this other question. Since my shape is a triangle, it will work.