2015-07-19 16:36:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-17 19:41:46 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
2015-07-19 16:36:28 +00:00
|
|
|
|
2018-02-17 19:41:46 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/color_background_secondary">
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
2015-07-19 16:36:28 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 19:41:46 +00:00
|
|
|
android:layout_above="@+id/button_bar"
|
|
|
|
android:layout_alignParentTop="true">
|
2015-07-19 16:36:28 +00:00
|
|
|
|
2015-08-15 16:52:47 +00:00
|
|
|
<LinearLayout
|
2018-02-17 19:41:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2015-08-15 16:52:47 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 19:41:46 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/key_error_message_card"
|
|
|
|
android:layout_width="fill_parent"
|
2015-08-15 16:52:47 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 19:41:46 +00:00
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:visibility="gone">
|
2015-08-15 16:52:47 +00:00
|
|
|
|
2018-03-15 12:37:08 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2018-02-17 19:41:46 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2018-02-18 14:17:11 +00:00
|
|
|
android:padding="@dimen/card_padding_regular">
|
2015-08-15 16:52:47 +00:00
|
|
|
|
2018-02-17 19:41:46 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_error_message_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/error_trustkeys_title"
|
2018-03-15 12:37:08 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
|
|
android:layout_marginBottom="8sp"/>
|
2018-02-17 19:41:46 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_error_message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-15 12:37:08 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_error_general"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Body1"/>
|
|
|
|
<TextView
|
|
|
|
android:layout_marginTop="8sp"
|
|
|
|
android:id="@+id/key_error_hint_mutual"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Body1.Secondary"
|
|
|
|
android:text="@string/error_trustkey_hint_mutual"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:gravity="right">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/disable_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minWidth="0dp"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:text="@string/disable_encryption"
|
|
|
|
android:textColor="@color/accent"/>
|
|
|
|
</LinearLayout>
|
2018-02-17 19:41:46 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/own_keys_card"
|
|
|
|
android:layout_width="match_parent"
|
2015-07-19 16:36:28 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 19:41:46 +00:00
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2018-02-28 17:20:53 +00:00
|
|
|
android:padding="@dimen/card_padding_list">
|
2018-02-17 19:41:46 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/own_keys_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-28 17:20:53 +00:00
|
|
|
android:layout_margin="@dimen/list_padding"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
2018-02-17 19:41:46 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/own_keys_details"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-28 17:20:53 +00:00
|
|
|
android:orientation="vertical"/>
|
2018-02-17 19:41:46 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
2015-07-19 16:36:28 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2018-02-17 19:41:46 +00:00
|
|
|
android:id="@+id/foreign_keys"
|
2015-07-19 16:36:28 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 19:41:46 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
2015-07-19 16:36:28 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-02-17 19:41:46 +00:00
|
|
|
</ScrollView>
|
2015-07-19 16:36:28 +00:00
|
|
|
|
2018-02-17 19:41:46 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/button_bar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentStart="true">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
2015-07-19 16:36:28 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 19:41:46 +00:00
|
|
|
android:layout_weight="1"
|
2018-03-02 16:09:00 +00:00
|
|
|
android:text="@string/cancel"/>
|
2015-07-19 16:36:28 +00:00
|
|
|
|
2018-02-17 19:41:46 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginBottom="7dp"
|
|
|
|
android:layout_marginTop="7dp"
|
|
|
|
android:background="?attr/divider"/>
|
2015-07-19 16:36:28 +00:00
|
|
|
|
2018-02-17 19:41:46 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/save_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
2018-03-02 16:09:00 +00:00
|
|
|
android:text="@string/done"/>
|
2015-07-19 16:36:28 +00:00
|
|
|
</LinearLayout>
|
2018-02-17 19:41:46 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
</layout>
|