certify: checkbox fake click area tidbit

This commit is contained in:
Vincent Breitmoser 2014-10-06 18:50:58 +02:00
parent f703d55bca
commit 096f6e436d

View File

@ -177,6 +177,16 @@ public class MultiCertifyKeyFragment extends LoaderFragment
}
});
// UI tidbit: "my key" is the area above the checkbox, if the user clicks there he
// probably actually wants to hit the checkbox
View vMyKeyLabel = view.findViewById(R.id.label_my_key);
vMyKeyLabel.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mUploadKeyCheckbox.performClick();
}
});
return root;
}