This week's book giveaway is in the Spring forum. We're giving away four copies of Java Persistence with Spring Data and Hibernate and have Cătălin Tudose on-line! See this thread for details.
How to change the color of toggleButton in listView? I use done.png as toggleButton image. When it is clicked, it will turn to green,otherwise it remains red. However it always shows the original color which is white !
Please help me. Thanks.
This is how I deigned my toggleButton
selector
toggle_on
toggle_off
MyActivity
Learning language is easy but learning basics is difficult
Are you sure that's the correct attribute? ToggleButton shows inherited attributes From class android.widget.CompoundButton which include color in the name, but i do not see android:color.
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!