diff --git a/OpenKeychain/src/main/res/layout/import_keys_list_item.xml b/OpenKeychain/src/main/res/layout/import_keys_list_item.xml index 8c9d71ecf..06a3ec00f 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_list_item.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_list_item.xml @@ -37,49 +37,30 @@ android:paddingLeft="16dp" android:paddingRight="16dp"> - + android:orientation="vertical"> - - - - - - - - - + android:textAppearance="?android:attr/textAppearanceMedium" + app:keyRevokedOrExpired="@{entry.revokedOrExpired}" + app:keySecret="@{entry.secretKey}" + app:keyUserId="@{entry.primaryUserId.name}" + app:query="@{entry.query}" /> - + + + diff --git a/OpenKeychain/src/main/res/layout/import_keys_list_item_extra.xml b/OpenKeychain/src/main/res/layout/import_keys_list_item_extra.xml index 54e59918a..ebb986f58 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_list_item_extra.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_list_item_extra.xml @@ -23,68 +23,96 @@ android:paddingLeft="8dp" android:paddingRight="8dp"> - + android:layout_height="wrap_content" + android:orientation="horizontal"> - + android:layout_alignParentLeft="true" + android:layout_toLeftOf="@+id/status" + android:orientation="vertical"> - + - + - + - + + + + + + + + + + + + + + + + + + + + + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:visibility="@{entry.revokedOrExpired ? V.VISIBLE : V.GONE}" + app:keyExpired="@{entry.expired}" + app:keyRevoked="@{entry.revoked}" /> - - - - - - - - - - - +