mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 07:58:50 -05:00
Fix layout of select key adapter
This commit is contained in:
parent
74bac3ea36
commit
e4391c282d
@ -152,10 +152,10 @@ abstract public class SelectKeyCursorAdapter extends CursorAdapter {
|
||||
View view = mInflater.inflate(R.layout.select_key_item, null);
|
||||
ViewHolderItem holder = new ViewHolderItem();
|
||||
holder.view = view;
|
||||
holder.mainUserId = (TextView) view.findViewById(R.id.key_list_item_name);
|
||||
holder.mainUserIdRest = (TextView) view.findViewById(R.id.mainUserIdRest);
|
||||
holder.keyId = (TextView) view.findViewById(R.id.subkey_item_key_id);
|
||||
holder.statusIcon = (ImageView) view.findViewById(R.id.status_icon);
|
||||
holder.mainUserId = (TextView) view.findViewById(R.id.select_key_item_name);
|
||||
holder.mainUserIdRest = (TextView) view.findViewById(R.id.select_key_item_email);
|
||||
holder.keyId = (TextView) view.findViewById(R.id.select_key_item_key_id);
|
||||
holder.statusIcon = (ImageView) view.findViewById(R.id.select_key_item_status_icon);
|
||||
holder.selected = (CheckBox) view.findViewById(R.id.selected);
|
||||
view.setTag(holder);
|
||||
return view;
|
||||
|
@ -24,21 +24,21 @@
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mainUserId"
|
||||
android:id="@+id/select_key_item_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Alice"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mainUserIdRest"
|
||||
android:id="@+id/select_key_item_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="alice@example.com"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subkey_item_key_id"
|
||||
android:id="@+id/select_key_item_key_id"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0xBBBBBBBBBBBBBBB"
|
||||
@ -46,7 +46,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_icon"
|
||||
android:id="@+id/select_key_item_status_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
Loading…
Reference in New Issue
Block a user