How to reset a button’s background color to default? April 23, 2023 by Tarik use: btn.setBackgroundResource(android.R.drawable.btn_default);