开发者

segmented controls type in Android app

开发者 https://www.devze.com 2023-03-10 08:18 出处:网络
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.

I try to make buttons like those on the desk of android:

segmented controls type in Android app

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!!!

0

精彩评论

暂无评论...
验证码 换一张
取 消