diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout')
-rw-r--r-- | OpenKeychain/src/main/res/layout/view_key_activity.xml | 10 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/layout/view_key_certs_fragment.xml | 51 |
2 files changed, 38 insertions, 23 deletions
diff --git a/OpenKeychain/src/main/res/layout/view_key_activity.xml b/OpenKeychain/src/main/res/layout/view_key_activity.xml index b15a73c0e..451eb30ee 100644 --- a/OpenKeychain/src/main/res/layout/view_key_activity.xml +++ b/OpenKeychain/src/main/res/layout/view_key_activity.xml @@ -4,7 +4,7 @@ android:layout_height="match_parent" android:orientation="vertical"> - <include layout="@layout/notify_area"/> + <include layout="@layout/notify_area" /> <LinearLayout android:id="@+id/view_key_status_layout" @@ -16,17 +16,17 @@ android:orientation="horizontal"> <ImageView + android:id="@+id/view_key_status_image" android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:id="@+id/view_key_status_image" /> + android:layout_height="wrap_content" /> <TextView + android:id="@+id/view_key_status_text" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:id="@+id/view_key_status_text" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_gravity="center_vertical" - android:layout_marginLeft="8dp"/> + android:layout_marginLeft="8dp" /> </LinearLayout> diff --git a/OpenKeychain/src/main/res/layout/view_key_certs_fragment.xml b/OpenKeychain/src/main/res/layout/view_key_certs_fragment.xml index 00b3f85c5..0b63abbb1 100644 --- a/OpenKeychain/src/main/res/layout/view_key_certs_fragment.xml +++ b/OpenKeychain/src/main/res/layout/view_key_certs_fragment.xml @@ -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_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" /> + android:layout_height="match_parent" + android:orientation="vertical"> <TextView - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" + android:padding="8dp" android:textAppearance="?android:attr/textAppearanceMedium" - android:text="@string/empty_certs" - android:id="@+id/empty" - android:visibility="gone" - android:layout_gravity="center" /> + android:text="@string/certs_text" /> + + <FrameLayout + 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> |