HarriA Posted January 20, 2014 Share Posted January 20, 2014 How can I change the actionbar back button pressed/focused state? I mean the button that has the Poweramp icon and a little arrow. I can change the ab back and Poweramp icon drawable, but the pressed/focused state is still Poweramp default. Other buttons in the actionbar are already themed correctly and have my custom drawables. Can anyone help me? Link to comment Share on other sites More sharing options...
maxmp Posted January 26, 2014 Share Posted January 26, 2014 Poweramp doesn't define those drawables as state drawables, by default there are no states for press/focus, but you can just create new state drawable (xm file with states and references to actual PNGs) and use it as drawable for Poweramp "ab_***").Thanks! Link to comment Share on other sites More sharing options...
HarriA Posted January 26, 2014 Author Share Posted January 26, 2014 Thanks for the help. I tried this but it´s not what I wanted. Now the ab_back and icon has different drawable but they are still inside some other layout that has the Poweramp default button style. Do I need to override something in skin styles.xml? The overflow button (and other buttons in actionbar) gets it style from styles.xml, but what i need to add to make this back button to have the same style? Here is two screenshots. I want the back button to have the same pressed style as the overflow button. Could you help me little bit more, I´m still new for android programming. Link to comment Share on other sites More sharing options...
HarriA Posted February 4, 2014 Author Share Posted February 4, 2014 Can someone help? I´m stuck with this. Link to comment Share on other sites More sharing options...
HarriA Posted February 16, 2014 Author Share Posted February 16, 2014 Nobody knows how to make that backbutton red when pressed? Maxmp plese help me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.