Solved!
I needed to change view type form Button to androidx.appcompat.widget.AppCompatButton , but why?
Button
androidx.appcompat.widget.AppCompatButton