2015-03-05 01:58:36 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
|
android:paddingRight="16dp">
|
|
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
|
android:id="@+id/card_linked_ids"
|
|
|
|
|
android:transitionName="card_linked_ids"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
card_view:cardBackgroundColor="@android:color/white"
|
|
|
|
|
card_view:cardElevation="2dp"
|
|
|
|
|
card_view:cardUseCompatPadding="true"
|
|
|
|
|
card_view:cardCornerRadius="4dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-08 00:59:16 +01:00
|
|
|
android:animateLayoutChanges="true"
|
2015-03-05 01:58:36 +01:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/CardViewHeader"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Linked Identity" />
|
|
|
|
|
|
2015-03-05 18:05:48 +01:00
|
|
|
<include layout="@layout/linked_id_item" />
|
2015-03-05 01:58:36 +01:00
|
|
|
|
2015-03-09 21:04:03 +01:00
|
|
|
<ViewAnimator
|
2015-03-06 14:20:58 +01:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-09 21:04:03 +01:00
|
|
|
android:id="@+id/linked_verify_container"
|
|
|
|
|
android:inAnimation="@anim/fade_in"
|
2015-03-13 13:54:52 +01:00
|
|
|
android:outAnimation="@anim/fade_out"
|
2015-03-15 21:41:04 +01:00
|
|
|
android:layout_marginLeft="12dp"
|
|
|
|
|
android:layout_marginRight="12dp"
|
2015-03-13 13:54:52 +01:00
|
|
|
>
|
2015-03-09 21:04:03 +01:00
|
|
|
|
|
|
|
|
<include layout="@layout/cert_list_widget" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:singleLine="true">
|
|
|
|
|
|
2015-03-15 21:41:04 +01:00
|
|
|
<LinearLayout
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_width="0dip"
|
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/linked_cert_text"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Verifying…"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2015-03-09 21:04:03 +01:00
|
|
|
<ViewAnimator
|
|
|
|
|
android:layout_width="22dp"
|
|
|
|
|
android:layout_height="22dp"
|
|
|
|
|
android:layout_marginLeft="16dp"
|
2015-03-15 21:41:04 +01:00
|
|
|
android:layout_marginRight="4dp"
|
2015-03-09 21:04:03 +01:00
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:id="@+id/linked_cert_progress"
|
|
|
|
|
android:inAnimation="@anim/fade_in"
|
|
|
|
|
android:outAnimation="@anim/fade_out">
|
|
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
|
android:layout_width="22dp"
|
|
|
|
|
android:layout_height="22dp"
|
|
|
|
|
android:indeterminate="true"
|
|
|
|
|
/>
|
|
|
|
|
|
2015-03-10 19:02:51 +01:00
|
|
|
<ImageView
|
2015-03-15 21:41:04 +01:00
|
|
|
android:id="@+id/status_icon_verified"
|
2015-03-10 19:02:51 +01:00
|
|
|
android:layout_width="22dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-15 21:41:04 +01:00
|
|
|
android:src="@drawable/status_signature_verified_inner_24dp"
|
2015-03-10 19:02:51 +01:00
|
|
|
/>
|
|
|
|
|
|
2015-03-09 21:04:03 +01:00
|
|
|
<ImageView
|
2015-03-15 21:41:04 +01:00
|
|
|
android:id="@+id/status_icon_invalid"
|
2015-03-09 21:04:03 +01:00
|
|
|
android:layout_width="22dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-15 21:41:04 +01:00
|
|
|
android:src="@drawable/status_signature_invalid_cutout_24dp"
|
2015-03-09 21:04:03 +01:00
|
|
|
/>
|
2015-03-10 19:02:51 +01:00
|
|
|
|
2015-03-09 21:04:03 +01:00
|
|
|
</ViewAnimator>
|
|
|
|
|
|
2015-03-06 14:20:58 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2015-03-09 21:04:03 +01:00
|
|
|
</ViewAnimator>
|
2015-03-09 16:30:13 +01:00
|
|
|
|
2015-03-08 00:59:16 +01:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.CertifyKeySpinner
|
|
|
|
|
android:layout_marginLeft="14dp"
|
|
|
|
|
android:layout_marginRight="14dp"
|
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/cert_key_spinner"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
</org.sufficientlysecure.keychain.ui.widget.CertifyKeySpinner>
|
|
|
|
|
|
2015-03-05 01:58:36 +01:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/back_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-10 02:08:51 +01:00
|
|
|
android:src="@drawable/ic_chevron_left_grey_24dp"
|
|
|
|
|
android:visibility="gone"
|
2015-03-05 01:58:36 +01:00
|
|
|
style="?android:attr/borderlessButtonStyle" />
|
|
|
|
|
|
|
|
|
|
<Space
|
2015-03-05 18:05:48 +01:00
|
|
|
android:layout_width="0dp"
|
2015-03-05 01:58:36 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
<Button
|
2015-03-05 18:05:48 +01:00
|
|
|
android:id="@+id/button_view"
|
2015-03-05 01:58:36 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="View"
|
|
|
|
|
android:textColor="@color/link_text_material_light"
|
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
|
/>
|
|
|
|
|
|
2015-03-06 14:20:58 +01:00
|
|
|
<ViewAnimator
|
|
|
|
|
android:id="@+id/button_animator"
|
2015-03-05 01:58:36 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-06 14:20:58 +01:00
|
|
|
android:inAnimation="@anim/fade_in"
|
|
|
|
|
android:outAnimation="@anim/fade_out">
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/button_verify"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Verify"
|
|
|
|
|
android:textColor="@color/link_text_material_light"
|
|
|
|
|
style="?android:attr/borderlessButtonStyle" />
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/button_retry"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Retry"
|
|
|
|
|
android:textColor="@color/link_text_material_light"
|
|
|
|
|
style="?android:attr/borderlessButtonStyle" />
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/button_confirm"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Confirm"
|
|
|
|
|
android:textColor="@color/link_text_material_light"
|
|
|
|
|
style="?android:attr/borderlessButtonStyle" />
|
|
|
|
|
</ViewAnimator>
|
2015-03-05 01:58:36 +01:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
|
|
</ScrollView>
|