|
|
@ -250,9 +250,16 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|
|
|
cbSearchIndex.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
|
|
|
cbSearchIndex.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
|
|
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
|
|
|
|
|
|
|
cbSenders.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
|
|
|
|
cbRecipients.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
|
|
|
|
cbSubject.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
|
|
|
|
cbKeywords.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
|
|
|
|
cbMessage.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
cbNotes.setEnabled(!isChecked);
|
|
|
|
cbNotes.setEnabled(!isChecked);
|
|
|
|
cbHeaders.setEnabled(!isChecked);
|
|
|
|
cbHeaders.setEnabled(!isChecked);
|
|
|
|
cbHtml.setEnabled(!isChecked);
|
|
|
|
cbHtml.setEnabled(!isChecked);
|
|
|
|
|
|
|
|
cbUnseen.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
|
|
|
|
cbFlagged.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
|
|
|
cbHidden.setEnabled(!isChecked);
|
|
|
|
cbHidden.setEnabled(!isChecked);
|
|
|
|
cbEncrypted.setEnabled(!isChecked);
|
|
|
|
cbEncrypted.setEnabled(!isChecked);
|
|
|
|
cbAttachments.setEnabled(!isChecked);
|
|
|
|
cbAttachments.setEnabled(!isChecked);
|
|
|
|