<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >

    <LinearLayout
        android:id="@+id/body"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="start"
        android:orientation="vertical" >

        <!-- Placeholder for the success message or one or more warnings -->
        <LinearLayout
            android:id="@+id/placeholder"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginTop="12dip"
            android:orientation="vertical" />

        <!-- Dialog-title line separator -->
        <ImageView
            android:id="@+id/title_separator"
            android:src="@android:drawable/divider_horizontal_dark"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:scaleType="fitXY"
            android:layout_weight="1"
            android:gravity="fill_horizontal"
            android:layout_marginEnd="20dip"
            android:layout_marginStart="20dip"/>

        <!-- Issued to: -->
        <TextView
            android:id="@+id/issued_to_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/issued_to"
            android:textStyle="bold"
            android:layout_marginTop="12dip"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Common name: -->
        <TextView
            android:id="@+id/to_common_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/common_name"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/to_common"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Organization: -->
        <TextView
            android:id="@+id/to_org_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/org_name"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/to_org"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Organizational unit: -->
        <TextView
            android:id="@+id/to_org_unit_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/org_unit"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/to_org_unit"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Serial number: -->
        <TextView
            android:id="@+id/serial_number_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/serial_number"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/serial_number"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Issued by: -->
        <TextView
            android:id="@+id/issued_to_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/issued_by"
            android:textStyle="bold"
            android:layout_marginTop="12dip"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Common name: -->
        <TextView
            android:id="@+id/by_common_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/common_name"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/by_common"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Organization: -->
        <TextView
            android:id="@+id/by_org_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/org_name"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/by_org"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Organizational unit: -->
        <TextView
            android:id="@+id/by_org_unit_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/org_unit"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/by_org_unit"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Validity Dates: -->
        <TextView
            android:id="@+id/validity_header"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/validity_period"
            android:textStyle="bold"
            android:layout_marginTop="12dip"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Issued On: -->
        <TextView
            android:id="@+id/issued_on_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/issued_on"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/issued_on"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Expires On: -->
        <TextView
            android:id="@+id/expires_on_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/expires_on"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/expires_on"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- Fingerprints: -->
        <TextView
            android:id="@+id/fingerprints"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/fingerprints"
            android:textStyle="bold"
            android:layout_marginTop="12dip"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- SHA-256 fingerprint: -->
        <TextView
            android:id="@+id/sha256_fingerprint_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/sha256_fingerprint"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/sha256_fingerprint"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

        <!-- SHA-1 fingerprint: -->
        <TextView
            android:id="@+id/sha1_fingerprint_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/sha1_fingerprint"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip" />

        <TextView
            android:id="@+id/sha1_fingerprint"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginStart="20dip"
            android:layout_marginEnd="20dip"
            android:layout_marginBottom="7dip" />

    </LinearLayout>

</ScrollView>
