android - How to change color of a specific acitonbar item -
i trying design actionbar (android version >=2.3 using support v7). want color of specific button different other buttons.
is there simple way ? example design below

you can activity class
in oncreate() method of activity add these lines , necessary imports.
android.app.actionbar bar = getactionbar(); bar.setbackgrounddrawable(new colordrawable(color.parsecolor("#d44334"))); it works in support action bar well.
Comments
Post a Comment