aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-02-23 23:03:45 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-02-23 23:03:45 +0100
commit52bcfd71adc1935ad81be7c0a9b2aae02000357c (patch)
tree77dcaa4ee330ef3efab83f8b9a7342e68d9c5ebd /OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml
parent29628e54ec70c0867fea99172745f6c678b66ec7 (diff)
downloadopen-keychain-52bcfd71adc1935ad81be7c0a9b2aae02000357c.tar.gz
open-keychain-52bcfd71adc1935ad81be7c0a9b2aae02000357c.tar.bz2
open-keychain-52bcfd71adc1935ad81be7c0a9b2aae02000357c.zip
New advanced key view
Diffstat (limited to 'OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml b/OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml
new file mode 100644
index 000000000..2232ea9f2
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/view_key_adv_certs_fragment.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:descendantFocusability="beforeDescendants"
+ android:orientation="vertical">
+
+ <TextView
+ style="@style/SectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:layout_marginLeft="16dp"
+ android:layout_marginRight="16dp"
+ android:text="@string/section_certs" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@color/holo_gray_bright"
+ android:padding="8dp"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/certs_text"
+ android:gravity="center_horizontal" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dip"
+ android:background="?android:attr/listDivider"
+ android:id="@+id/view_key_status_divider" />
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <se.emilsjolander.stickylistheaders.StickyListHeadersListView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/certs_list"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ 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> \ No newline at end of file