android-checkbox
How to set checkbox border color
You can use the property android:buttonTint=”what you want” to set your checkbox border color.
Android Checkable Menu Item
Layout looks right. But you must check and uncheck menu item in code. From the documentation: When a checkable item is selected, the system calls your respective item-selected callback method (such as onOptionsItemSelected()). It is here that you must set the state of the checkbox, because a checkbox or radio button does not change its … Read more
Android: checkbox listener
You can do this: satView.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView,boolean isChecked) { } } );
How to change the color of a CheckBox?
You can change the color directly in XML. Use buttonTint for the box: (as of API level 23) <CheckBox android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:buttonTint=”@color/CHECK_COLOR” /> You can also do this using appCompatCheckbox v7 for older API levels: <android.support.v7.widget.AppCompatCheckBox android:layout_width=”wrap_content” android:layout_height=”wrap_content” app:buttonTint=”@color/COLOR_HERE” />