2015-08-28 04:20:43 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2015-12-29 21:21:11 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-08-28 04:20:43 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2015-08-28 15:18:11 +02:00
|
|
|
android:paddingBottom="16dp"
|
2015-08-28 04:20:43 +02:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
|
android:paddingTop="16dp">
|
2015-02-24 11:25:19 +01:00
|
|
|
|
2017-05-26 19:17:42 +02:00
|
|
|
<android.support.v7.widget.CardView
|
2017-04-24 20:49:45 +02:00
|
|
|
android:id="@+id/subkey_status_card"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
card_view:cardBackgroundColor="?attr/colorCardViewBackground"
|
|
|
|
|
card_view:cardElevation="2dp"
|
|
|
|
|
card_view:cardUseCompatPadding="true"
|
2017-05-26 19:17:42 +02:00
|
|
|
card_view:cardCornerRadius="4dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/CardViewHeader"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Key Status" />
|
|
|
|
|
|
|
|
|
|
<org.sufficientlysecure.keychain.ui.keyview.view.KeyHealthView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/key_status_health"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
2017-04-24 20:49:45 +02:00
|
|
|
|
2017-05-21 05:12:45 +02:00
|
|
|
<org.sufficientlysecure.keychain.ui.keyview.view.LinkedIdentitiesCardView
|
2015-08-29 13:28:56 +02:00
|
|
|
android:id="@+id/card_linked_ids"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-29 21:21:11 +01:00
|
|
|
android:layout_gravity="center"
|
2015-08-29 13:28:56 +02:00
|
|
|
android:visibility="gone"
|
2015-10-21 16:19:16 +02:00
|
|
|
card_view:cardBackgroundColor="?attr/colorCardViewBackground"
|
2015-12-29 21:21:11 +01:00
|
|
|
card_view:cardCornerRadius="4dp"
|
2015-08-29 13:28:56 +02:00
|
|
|
card_view:cardElevation="2dp"
|
|
|
|
|
card_view:cardUseCompatPadding="true"
|
2017-05-21 03:07:35 +02:00
|
|
|
tools:visibility="visible" />
|
2015-02-25 13:49:21 +01:00
|
|
|
|
2015-09-01 13:58:04 +02:00
|
|
|
<android.support.v7.widget.CardView
|
2015-12-29 21:21:11 +01:00
|
|
|
android:id="@+id/view_key_card_user_ids"
|
2015-09-01 13:58:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
card_view:cardBackgroundColor="?attr/colorCardViewBackground"
|
|
|
|
|
card_view:cardCornerRadius="4dp"
|
|
|
|
|
card_view:cardElevation="2dp"
|
|
|
|
|
card_view:cardUseCompatPadding="true">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2015-12-29 21:21:11 +01:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2015-09-01 13:58:04 +02:00
|
|
|
android:layout_height="wrap_content"
|
2015-12-29 21:21:11 +01:00
|
|
|
android:orientation="vertical">
|
2015-09-01 13:58:04 +02:00
|
|
|
|
2015-12-29 21:21:11 +01:00
|
|
|
<TextView
|
|
|
|
|
style="@style/CardViewHeader"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/section_user_ids" />
|
|
|
|
|
|
|
|
|
|
<org.sufficientlysecure.keychain.ui.widget.FixedListView
|
|
|
|
|
android:id="@+id/view_key_user_ids"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="4dp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/view_key_card_user_ids_buttons"
|
2015-09-01 13:58:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-29 21:21:11 +01:00
|
|
|
android:gravity="left|start"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dip"
|
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/view_key_card_user_ids_edit"
|
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/key_view_action_edit"
|
|
|
|
|
android:textColor="@color/card_view_button" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-09-01 13:58:04 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
2017-05-21 05:12:45 +02:00
|
|
|
<org.sufficientlysecure.keychain.ui.keyview.view.SystemContactCardView
|
2015-08-28 04:20:43 +02:00
|
|
|
android:id="@+id/linked_system_contact_card"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
card_view:cardBackgroundColor="?attr/colorCardViewBackground"
|
|
|
|
|
card_view:cardCornerRadius="4dp"
|
|
|
|
|
card_view:cardElevation="2dp"
|
2017-05-21 01:21:20 +02:00
|
|
|
card_view:cardUseCompatPadding="true"
|
|
|
|
|
tools:visibility="visible" />
|
2015-02-24 11:25:19 +01:00
|
|
|
|
2015-08-29 13:28:56 +02:00
|
|
|
</LinearLayout>
|