small layout problem fixed

This commit is contained in:
Dominik Schürmann 2014-02-04 22:53:53 +01:00
parent 9d074b01e9
commit 9667245613
2 changed files with 4 additions and 5 deletions

View File

@ -167,7 +167,7 @@ public class ImportKeysListEntry implements Serializable, Parcelable {
this.revoked = pgpKeyRing.getPublicKey().isRevoked(); this.revoked = pgpKeyRing.getPublicKey().isRevoked();
this.fingerPrint = PgpKeyHelper.convertFingerprintToHex(pgpKeyRing.getPublicKey() this.fingerPrint = PgpKeyHelper.convertFingerprintToHex(pgpKeyRing.getPublicKey()
.getFingerprint(), true); .getFingerprint(), true);
this.hexKeyId = PgpKeyHelper.convertKeyIdToHex(keyId); this.hexKeyId = "0x" + PgpKeyHelper.convertKeyIdToHex(keyId);
this.bitStrength = pgpKeyRing.getPublicKey().getBitStrength(); this.bitStrength = pgpKeyRing.getPublicKey().getBitStrength();
int algorithm = pgpKeyRing.getPublicKey().getAlgorithm(); int algorithm = pgpKeyRing.getPublicKey().getAlgorithm();
if (algorithm == PGPPublicKey.RSA_ENCRYPT || algorithm == PGPPublicKey.RSA_GENERAL if (algorithm == PGPPublicKey.RSA_ENCRYPT || algorithm == PGPPublicKey.RSA_GENERAL

View File

@ -83,9 +83,8 @@
android:layout_gravity="left" android:layout_gravity="left"
android:text="Main User Id Rest" android:text="Main User Id Rest"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_alignBottom="@+id/relativeLayout" android:layout_below="@+id/mainUserId"
android:layout_alignLeft="@+id/mainUserId" android:layout_toRightOf="@+id/relativeLayout" />
android:layout_alignStart="@+id/mainUserId" />
</RelativeLayout> </RelativeLayout>
<LinearLayout <LinearLayout