Hello,
if (note.isHide()) {
menuItem.setTitle(getString(R.string.show_note));
menuItem.setIcon(getDrawable(R.drawable.btn_show));
} else {
menuItem.setTitle(getString(R.string.hide_hidden));
menuItem.setIcon(getDrawable(R.drawable.btn_hide));
}
R.string.hide_hidden actually should be R.string.hide_note in this context.
Hello,
R.string.hide_hiddenactually should beR.string.hide_notein this context.