Change Toolbar background color programmatically does not change Toolbar Title Background color

前端 未结 5 2169
南笙
南笙 2020-12-18 18:11

I´m trying to change the toolbar Background color programmatically by doing this:

getSupportActionBar().setBackgroundDrawable(newColorDrawable(getResources()         


        
5条回答
提交回复
热议问题