Is it possible to change the normal size of the button (i.e. rectangular) (image buttons with normal buttons) and maybe star or Like a triangle in Android? Any tutorial or sample code will be highly appreciated
It depends on defining "size".
Visually, you change the shape shape by changing the background resource. See.
However, I have not tried to do it with non-rectangular, so it is possible that when it looks like a star, the "hot area" for clicks is still the original rectangle Could.
You can see the implementation of the RatingBar
in the Android open source code, which uses stars, and see if they do something unusual.
Comments
Post a Comment