Prettify some layouts

This commit is contained in:
Dominik Schürmann
2014-04-09 19:42:27 +02:00
parent 35f9189a82
commit 21e6110b6d
6 changed files with 45 additions and 48 deletions

View File

@@ -292,6 +292,7 @@ public class ViewKeyMainFragment extends Fragment implements
case LOADER_ID_KEYS:
// hide encrypt button if no encryption key is available
// TODO: do with subquery!
boolean canEncrypt = false;
data.moveToFirst();
do {

View File

@@ -95,7 +95,7 @@ public class ViewKeyKeysAdapter extends CursorAdapter {
ImageView signIcon = (ImageView) view.findViewById(R.id.ic_signKey);
ImageView revokedKeyIcon = (ImageView) view.findViewById(R.id.ic_revokedKey);
String keyIdStr = PgpKeyHelper.convertKeyIdToHexShort(cursor.getLong(mIndexKeyId));
String keyIdStr = PgpKeyHelper.convertKeyIdToHex(cursor.getLong(mIndexKeyId));
String algorithmStr = PgpKeyHelper.getAlgorithmInfo(cursor.getInt(mIndexAlgorithm),
cursor.getInt(mIndexKeySize));