设置 Toolbar(ActionBar) 上的按钮颜色

阅读更多
原文地址:
https://stackoverflow.com/a/29536902
https://stackoverflow.com/a/27754099

[your_layout.xml]

    style="@style/MyToolbarStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

Styles / Themes in styles.xml





Result

Note: I made the checkbox purple for demo purpose

-----------------------------------------------------------
Change arrow color of Spinner

1) In styles.xml, add the following style:



2) In the layout, where you use the Spinner (in your case with Toolbar), add the style to your spinner:

你可能感兴趣的:(android,actionbar,toolbar,spinner,checbox)