diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyCertsFragment.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyCertsFragment.java index 4551bd4e0..e12c93d2f 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyCertsFragment.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyCertsFragment.java @@ -124,6 +124,8 @@ public class ViewKeyCertsFragment extends Fragment } catch (ApiLevelTooLowException e) { } + mStickyList.setEmptyView(getActivity().findViewById(R.id.empty)); + // TODO this view is made visible if no data is available // mStickyList.setEmptyView(getActivity().findViewById(R.id.empty)); diff --git a/OpenPGP-Keychain/src/main/res/layout/view_key_certs_fragment.xml b/OpenPGP-Keychain/src/main/res/layout/view_key_certs_fragment.xml index 40db5e766..60f071bd4 100644 --- a/OpenPGP-Keychain/src/main/res/layout/view_key_certs_fragment.xml +++ b/OpenPGP-Keychain/src/main/res/layout/view_key_certs_fragment.xml @@ -33,6 +33,16 @@ android:layout_alignParentRight="true" android:layout_marginRight="16dp" /> + + \ No newline at end of file diff --git a/OpenPGP-Keychain/src/main/res/values/strings.xml b/OpenPGP-Keychain/src/main/res/values/strings.xml index ab81bee7a..723661928 100644 --- a/OpenPGP-Keychain/src/main/res/values/strings.xml +++ b/OpenPGP-Keychain/src/main/res/values/strings.xml @@ -452,5 +452,6 @@ User ID Subkey Rank ]]> + No certificates for this key