mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-28 03:22:19 -05:00
Header for certs view
This commit is contained in:
parent
a5d34478df
commit
638c29792d
@ -4,7 +4,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<include layout="@layout/notify_area"/>
|
<include layout="@layout/notify_area" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/view_key_status_layout"
|
android:id="@+id/view_key_status_layout"
|
||||||
@ -16,17 +16,17 @@
|
|||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
android:id="@+id/view_key_status_image"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content" />
|
||||||
android:id="@+id/view_key_status_image" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/view_key_status_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/view_key_status_text"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginLeft="8dp"/>
|
android:layout_marginLeft="8dp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -1,24 +1,39 @@
|
|||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical">
|
||||||
<se.emilsjolander.stickylistheaders.StickyListHeadersListView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:id="@+id/list"
|
|
||||||
android:fastScrollEnabled="true"
|
|
||||||
android:paddingBottom="16dp"
|
|
||||||
android:paddingLeft="16dp"
|
|
||||||
android:paddingRight="32dp"
|
|
||||||
android:scrollbarStyle="outsideOverlay" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="8dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:text="@string/empty_certs"
|
android:text="@string/certs_text" />
|
||||||
android:id="@+id/empty"
|
|
||||||
android:visibility="gone"
|
<FrameLayout
|
||||||
android:layout_gravity="center" />
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
<se.emilsjolander.stickylistheaders.StickyListHeadersListView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:id="@+id/list"
|
||||||
|
android:fastScrollEnabled="true"
|
||||||
|
android:paddingBottom="16dp"
|
||||||
|
android:paddingLeft="16dp"
|
||||||
|
android:paddingRight="32dp"
|
||||||
|
android:scrollbarStyle="outsideOverlay" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:text="@string/empty_certs"
|
||||||
|
android:id="@+id/empty"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:layout_gravity="center" />
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
|
@ -698,6 +698,7 @@
|
|||||||
<string name="label_user_id">Identity</string>
|
<string name="label_user_id">Identity</string>
|
||||||
<string name="unknown_uid"><unknown></string>
|
<string name="unknown_uid"><unknown></string>
|
||||||
<string name="empty_certs">No certificates for this key</string>
|
<string name="empty_certs">No certificates for this key</string>
|
||||||
|
<string name="certs_text">Only certificates created with your keys and self-certificates are displayed here.</string>
|
||||||
<string name="section_uids_to_certify">Identities to certify</string>
|
<string name="section_uids_to_certify">Identities to certify</string>
|
||||||
<string name="label_revocation">Revocation Reason</string>
|
<string name="label_revocation">Revocation Reason</string>
|
||||||
<string name="label_verify_status">Verification Status</string>
|
<string name="label_verify_status">Verification Status</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user