diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-04 22:53:53 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-04 22:53:53 +0100 |
commit | 9667245613f92edae955cb3b4e8634f7d9553543 (patch) | |
tree | 6da42dd588e909b0d22ed5e3461ae7d73b486d07 /OpenPGP-Keychain/src/main | |
parent | 9d074b01e9c99c463c8b5f0b653528ef745c38ec (diff) | |
download | open-keychain-9667245613f92edae955cb3b4e8634f7d9553543.tar.gz open-keychain-9667245613f92edae955cb3b4e8634f7d9553543.tar.bz2 open-keychain-9667245613f92edae955cb3b4e8634f7d9553543.zip |
small layout problem fixed
Diffstat (limited to 'OpenPGP-Keychain/src/main')
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java | 4 | ||||
-rw-r--r-- | OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java index 5094e8abd..4a7a9c93a 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java @@ -48,7 +48,7 @@ public class ImportKeysListEntry implements Serializable, Parcelable { private boolean selected; - private byte[] bytes = new byte[] {}; + private byte[] bytes = new byte[]{}; public ImportKeysListEntry(ImportKeysListEntry b) { this.userIds = b.userIds; @@ -167,7 +167,7 @@ public class ImportKeysListEntry implements Serializable, Parcelable { this.revoked = pgpKeyRing.getPublicKey().isRevoked(); this.fingerPrint = PgpKeyHelper.convertFingerprintToHex(pgpKeyRing.getPublicKey() .getFingerprint(), true); - this.hexKeyId = PgpKeyHelper.convertKeyIdToHex(keyId); + this.hexKeyId = "0x" + PgpKeyHelper.convertKeyIdToHex(keyId); this.bitStrength = pgpKeyRing.getPublicKey().getBitStrength(); int algorithm = pgpKeyRing.getPublicKey().getAlgorithm(); if (algorithm == PGPPublicKey.RSA_ENCRYPT || algorithm == PGPPublicKey.RSA_GENERAL diff --git a/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml b/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml index 91ee15c38..e6c81c3fc 100644 --- a/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml +++ b/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml @@ -83,9 +83,8 @@ android:layout_gravity="left" android:text="Main User Id Rest" android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_alignBottom="@+id/relativeLayout" - android:layout_alignLeft="@+id/mainUserId" - android:layout_alignStart="@+id/mainUserId" /> + android:layout_below="@+id/mainUserId" + android:layout_toRightOf="@+id/relativeLayout" /> </RelativeLayout> <LinearLayout |