From e4391c282dd9e9214ce818ef893158d2612f4a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 26 Oct 2014 00:15:35 +0200 Subject: [PATCH] Fix layout of select key adapter --- .../keychain/ui/adapter/SelectKeyCursorAdapter.java | 8 ++++---- OpenKeychain/src/main/res/layout/select_key_item.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SelectKeyCursorAdapter.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SelectKeyCursorAdapter.java index 8b6a04b99..34d40c80e 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SelectKeyCursorAdapter.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SelectKeyCursorAdapter.java @@ -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; diff --git a/OpenKeychain/src/main/res/layout/select_key_item.xml b/OpenKeychain/src/main/res/layout/select_key_item.xml index b6cbfd973..c7fa882cb 100644 --- a/OpenKeychain/src/main/res/layout/select_key_item.xml +++ b/OpenKeychain/src/main/res/layout/select_key_item.xml @@ -24,21 +24,21 @@ android:layout_gravity="center_vertical">