cert_warning.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3    android:layout_width="match_parent"
 4    android:layout_height="match_parent"
 5    android:orientation="vertical"
 6    android:padding="8dp">
 7
 8    <TextView
 9        android:id="@+id/hint"
10        android:layout_width="wrap_content"
11        android:layout_height="wrap_content"
12        android:textSize="14sp"/>
13    
14     <TextView
15        android:layout_width="wrap_content"
16        android:layout_height="wrap_content"
17        android:textColor="#FFe92727"
18        android:textStyle="bold"
19        android:textSize="14sp"
20        android:text="Do not connect unless you know exactly what you are doing"
21        android:paddingTop="8dp"
22        android:paddingBottom="8dp"/>
23     
24     <TextView
25        android:layout_width="wrap_content"
26        android:layout_height="wrap_content"
27        android:textSize="14sp"
28        android:text="The SHA1 fingerprint is:" />
29
30    <TextView
31        android:layout_gravity="center_horizontal"
32        android:paddingTop="8dp"
33        android:paddingBottom="8dp"
34        android:id="@+id/sha"
35        android:layout_width="wrap_content"
36        android:layout_height="wrap_content"
37        android:typeface="monospace"
38        android:textStyle="bold"
39        android:textSize="18sp"/>
40
41</LinearLayout>