diff --git a/res/layout/identity_key_view.xml b/res/layout/identity_key_view.xml
index a7992d186a..662f76b102 100644
--- a/res/layout/identity_key_view.xml
+++ b/res/layout/identity_key_view.xml
@@ -1,9 +1,26 @@
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingRight="10dip">
+
+
+
+
+
+
+ android:textColor="#000000"/>
-
+
+
+
\ No newline at end of file
diff --git a/res/layout/review_identities_fragment.xml b/res/layout/review_identities_fragment.xml
index 3c48cd580c..3bb2346703 100644
--- a/res/layout/review_identities_fragment.xml
+++ b/res/layout/review_identities_fragment.xml
@@ -3,9 +3,7 @@
+ android:orientation="vertical">
= Build.VERSION_CODES.HONEYCOMB;
}
@Override
diff --git a/src/org/thoughtcrime/securesms/ReviewIdentitiesFragment.java b/src/org/thoughtcrime/securesms/ReviewIdentitiesFragment.java
index 76b8c5aeda..ca58ed014a 100644
--- a/src/org/thoughtcrime/securesms/ReviewIdentitiesFragment.java
+++ b/src/org/thoughtcrime/securesms/ReviewIdentitiesFragment.java
@@ -66,10 +66,12 @@ public class ReviewIdentitiesFragment extends SherlockListFragment
private class IdentitiesListAdapter extends CursorAdapter {
private final MasterSecret masterSecret;
+ private final LayoutInflater inflater;
public IdentitiesListAdapter(Context context, Cursor cursor, MasterSecret masterSecret) {
super(context, cursor);
this.masterSecret = masterSecret;
+ this.inflater = LayoutInflater.from(context);
}
@Override
@@ -82,9 +84,7 @@ public class ReviewIdentitiesFragment extends SherlockListFragment
@Override
public View newView(Context context, Cursor cursor, ViewGroup parent) {
- IdentityKeyView identityKeyView = new IdentityKeyView(context);
- bindView(identityKeyView, context, cursor);
- return identityKeyView;
+ return inflater.inflate(R.layout.identity_key_view, parent, false);
}
}
}
\ No newline at end of file