aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-12-23 19:18:53 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-12-23 19:18:53 +0100
commitf46cbb38a92ff5281a974ecc0932ba5459c7334e (patch)
treebe812812e040602398584ab65764203326bd19e3 /src/main/res/layout
parentd0bad09f13886c7d8ee20c0205293cb0250d9c2f (diff)
show certificate information
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/certificate_information.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/main/res/layout/certificate_information.xml b/src/main/res/layout/certificate_information.xml
new file mode 100644
index 00000000..4c085459
--- /dev/null
+++ b/src/main/res/layout/certificate_information.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="16dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_subject"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeHeadline"/>
+ <TextView
+ android:layout_marginTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_cn"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/subject_cn"
+ android:textColor="@color/black54"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_marginTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_o"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/subject_o"
+ android:textColor="@color/black54"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_marginTop="16dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_issuer"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeHeadline"/>
+ <TextView
+ android:layout_marginTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_cn"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/issuer_cn"
+ android:textColor="@color/black54"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_marginTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_o"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/issuer_o"
+ android:textColor="@color/black54"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_marginTop="16dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/certificate_sha1"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeBody"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/sha1"
+ android:textColor="@color/black54"
+ android:textSize="?attr/TextSizeBody"
+ android:typeface="monospace"
+ android:fontFamily="monospace"/>
+</LinearLayout> \ No newline at end of file