Hi guys
I have to make a custom ToggleButton view.
The purpose of that view should be that :-
When the user clicks the button the background image should change
thats it
Please tell me how to achieve this
or direct me to some tutorials for beginners.
--
You received this message because you
Use a simple ImageButton, and handle the click events to change the Images
for the ImageButton.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Thu, Nov 25, 2010 at 12:26 AM, Abhishek Talwar
r.o.b.i.n.abhis...@gmail.com wrote:
Hi guys
I have to make a custom ToggleButton
No
i dont want to do it this way.
I have done this much.
This time i want to learn how to create a custom view.
Please help
On Thu, Nov 25, 2010 at 12:28 AM, Kumar Bibek coomar@gmail.com wrote:
Use a simple ImageButton, and handle the click events to change the Images
for the ImageButton.
Well, the ToggleButton control basically does the same thing (sure enough).
For creating custom views, you would have to either extend any of the
ViewGroups/Views.
You have to tell your specific requirements. Most of the time, creating
custom views from scratch, ie. extending ViewGroup/View
4 matches
Mail list logo