?android:attr/selectableItemBackground not visible enough on a dark background

后端 未结 3 2044
挽巷
挽巷 2021-02-04 10:15

On Android Lollipop, I\'m using:

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

to have the material animated feedback when I cl

3条回答
  •  有刺的猬
    2021-02-04 10:47

    Solution with AppCompat (works on old APIs too)

    android:theme="@style/Base.ThemeOverlay.AppCompat.Dark"
    android:background="?attr/selectableItemBackground"
    

提交回复
热议问题