132 lines
5.7 KiB
XML
132 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/color_background_secondary">
|
|
|
|
<ScrollView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/button_bar"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.v7.widget.CardView
|
|
android:id="@+id/key_error_message_card"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
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"
|
|
android:padding="@dimen/card_padding_regular">
|
|
|
|
<TextView
|
|
android:id="@+id/key_error_message_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/error_trustkeys_title"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
|
|
|
<TextView
|
|
android:id="@+id/key_error_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="8dp"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
<android.support.v7.widget.CardView
|
|
android:id="@+id/own_keys_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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"
|
|
android:padding="@dimen/card_padding_list">
|
|
|
|
<TextView
|
|
android:id="@+id/own_keys_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/list_padding"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/own_keys_details"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"/>
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/foreign_keys"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<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"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/cancel"/>
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginBottom="7dp"
|
|
android:layout_marginTop="7dp"
|
|
android:background="?attr/divider"/>
|
|
|
|
<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"
|
|
android:text="@string/done"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</layout> |