using a custom color for button background while using selectableItemBackground attribute

后端 未结 6 2174
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 21:37

I am trying to use

android:background=\"?android:attr/selectableItemBackground\"

to get my button to do appropriate effects for each android versi

6条回答
  •  暖寄归人
    2021-02-06 22:14

    Just move your desired color in outer/parent level, e.g. "@color/Red" is button color:

        
    
            

提交回复
热议问题