Color code the issued to Common Name in the view SSL certificate dialog. Implements...
[PrivacyBrowser.git] / app / src / main / res / layout / view_ssl_certificate.xml
index f1ce5c1b6e4ea98fd70e4f60c8078f6c2f578ad7..14038690ac04be7e1bbd6c4cb9d48fdc6ba763fa 100644 (file)
         android:padding="10dp"
         android:orientation="vertical" >
 
+        <!-- Domain. -->
+        <TextView
+            android:layout_height="wrap_content"
+            android:layout_width="wrap_content"
+            android:layout_marginTop="5dp"
+            android:text="@string/domain"
+            android:textAllCaps="true"
+            android:textStyle="bold"
+            android:textColor="?attr/sslTitle" />
+
+        <TextView
+            android:id="@+id/domain"
+            android:layout_height="wrap_content"
+            android:layout_width="wrap_content" />
+
         <!-- Issued To. -->
         <TextView
             android:layout_height="wrap_content"
             android:layout_width="wrap_content"
+            android:layout_marginTop="15dp"
             android:text="@string/issued_to"
             android:textAllCaps="true"
             android:textStyle="bold"