Material Components Default to colorAccent instead of colorPrimary

前端 未结 2 877
北荒
北荒 2021-01-27 05:19

My AppTheme in styles.xml looks like this:

   

Starting from the version 1.1.0 the @color/mtrl_btn_bg_color_selector is based on the ?attr/colorPrimary:


  
  

In the version 1.0.0 the selector was based on ?attr/colorAccent:


  
  

提交回复
热议问题