Kotlin performs Fragment switching page and button color change

Note the use of enabled instead of pressed

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@mipmap/m4

おすすめ

転載: blog.csdn.net/m0_62491934/article/details/129231966