diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-10-26 00:15:35 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-10-26 00:15:35 +0200 |
commit | e4391c282dd9e9214ce818ef893158d2612f4a31 (patch) | |
tree | 85e2312f77cc297e108dfe3054722f21040c0108 /OpenKeychain | |
parent | 74bac3ea36d89f4ee450782fdbb6da49b02ede2e (diff) | |
download | open-keychain-e4391c282dd9e9214ce818ef893158d2612f4a31.tar.gz open-keychain-e4391c282dd9e9214ce818ef893158d2612f4a31.tar.bz2 open-keychain-e4391c282dd9e9214ce818ef893158d2612f4a31.zip |
Fix layout of select key adapter
Diffstat (limited to 'OpenKeychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SelectKeyCursorAdapter.java | 8 | ||||
-rw-r--r-- | 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"> <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" |