segmented controls type in Android app
I try to make buttons like those on the desk of android:
This button are similar to the uisegmentedcontrol for Iphone. I don't find a easy way to do this in Android.
For the moment, I use the Button explain here:
http://blog.bookworm.at/2010/10/segmented-controls-in-android.html
But the result seems not so good compared to the desk button. There is no round corner, alpha, etc...
开发者_如何学运维Is there an easy way to use the same button than the desk button?
You could try implementing the code used by this brilliant developer:
https://github.com/makeramen/android-segmentedradiobutton
Helped me a great deal!!!
精彩评论