设置 Toolbar(ActionBar) 上的按钮颜色
16lz
2021-12-04
阅读更多 原文地址:
https://stackoverflow.com/a/29536902
https://stackoverflow.com/a/27754099
[your_layout.xml]
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:
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(安卓)WebRTC使用解析
- android sdk 下载缓慢的问题
- 设置 Toolbar(ActionBar) 上的按钮颜色
- android 6.0及以下获取wifi mac地址
- Porting Android(安卓)to S3C6410
- Android下如何获取Mac地址
- 取WiFi MAC地址
- 为usb网卡设置ip地址之一
- android_m2repository_rxx.zip下载地址以及MD5