From 096f6e436d8a7a45723f863e6f1595aba5ea6a54 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Mon, 6 Oct 2014 18:50:58 +0200 Subject: certify: checkbox fake click area tidbit --- .../keychain/ui/MultiCertifyKeyFragment.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure') diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/MultiCertifyKeyFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/MultiCertifyKeyFragment.java index a3be8f8e1..cc9ec8308 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/MultiCertifyKeyFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/MultiCertifyKeyFragment.java @@ -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; } -- cgit v1.2.3