Creating a Custom Compound Button Bar
        Posted  
        
            by vijay
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by vijay
        
        
        
        Published on 2010-03-11T05:13:45Z
        Indexed on 
            2010/03/11
            5:18 UTC
        
        
        Read the original article
        Hit count: 321
        
android
I have to create a custom compound button bar control in Android like the one here. To create a button bar like this, I am thinking of extending a LinearLayout and add my buttons to it. The buttons have a black background but with a gradient fill; I am not keen on using PNGs since the color of the buttons can change at runtime.
How can I get similar effect in Android?
Thanks.
© Stack Overflow or respective owner