more layout neatification

This commit is contained in:
Vincent Breitmoser 2014-10-05 01:21:24 +02:00
parent 15165d056f
commit dff68ac194
3 changed files with 22 additions and 4 deletions

View File

@ -88,7 +88,7 @@ public class MultiUserIdsAdapter extends CursorAdapter {
if (isHeader == 1) {
long masterKeyId = cursor.getLong(0);
vHeader.setVisibility(View.VISIBLE);
vHeaderId.setText(KeyFormattingUtils.beautifyKeyId(masterKeyId));
vHeaderId.setText(KeyFormattingUtils.beautifyKeyIdWithPrefix(mContext, masterKeyId));
} else {
vHeader.setVisibility(View.GONE);
}

View File

@ -23,10 +23,27 @@
android:layout_marginTop="14dp"
android:text="@string/section_certification_key" />
<org.sufficientlysecure.keychain.ui.widget.CertifyKeySpinner
android:id="@+id/certify_key_spinner"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:padding="0dp"
android:layout_margin="0dp">
<TextView
android:paddingLeft="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/key_colon"
android:paddingRight="8dp" />
<org.sufficientlysecure.keychain.ui.widget.CertifyKeySpinner
android:id="@+id/certify_key_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<TextView
style="@style/SectionHeader"

View File

@ -964,6 +964,7 @@
<string name="swipe_to_update">"Swipe down to update from keyserver"</string>
<string name="error_no_file_selected">"Select at least one file to encrypt!"</string>
<string name="error_multi_not_supported">"Saving of multiple files not supported. This is a limitation on current Android."</string>
<string name="key_colon">"Key:"</string>
<!-- First Time -->
<string name="first_time_text1">"Take back your privacy with OpenKeychain!"</string>