aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java')
-rw-r--r--OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java b/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java
index 4fef3f32c..4ddd97485 100644
--- a/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java
+++ b/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpListPreference.java
@@ -95,10 +95,9 @@ public class OpenPgpListPreference extends DialogPreference {
tv.setCompoundDrawablesWithIntrinsicBounds(mProviderList.get(position).icon, null,
null, null);
- // Add margin between image and text (support various screen
- // densities)
- int dp5 = (int) (5 * getContext().getResources().getDisplayMetrics().density + 0.5f);
- tv.setCompoundDrawablePadding(dp5);
+ // Add margin between image and text (support various screen densities)
+ int dp10 = (int) (10 * getContext().getResources().getDisplayMetrics().density + 0.5f);
+ tv.setCompoundDrawablePadding(dp10);
// disable if it has the wrong api_version
if (mProviderList.get(position).apiVersion == OpenPgpConstants.REQUIRED_API_VERSION) {