1<?xml version="1.0" encoding="utf-8"?>
2<layout xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <RelativeLayout
5 android:layout_width="match_parent"
6 android:layout_height="match_parent"
7 android:background="?attr/color_background_secondary">
8
9 <ScrollView
10 android:layout_width="fill_parent"
11 android:layout_height="wrap_content"
12 android:layout_above="@+id/button_bar"
13 android:layout_alignParentTop="true">
14
15 <LinearLayout
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:orientation="vertical">
19
20 <android.support.v7.widget.CardView
21 android:id="@+id/key_error_message_card"
22 android:layout_width="fill_parent"
23 android:layout_height="wrap_content"
24 android:layout_marginBottom="@dimen/activity_vertical_margin"
25 android:layout_marginLeft="@dimen/activity_horizontal_margin"
26 android:layout_marginRight="@dimen/activity_horizontal_margin"
27 android:layout_marginTop="@dimen/activity_vertical_margin"
28 android:visibility="gone">
29
30 <LinearLayout
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
33 android:orientation="vertical"
34 android:padding="@dimen/infocard_padding">
35
36 <TextView
37 android:id="@+id/key_error_message_title"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="@string/error_trustkeys_title"
41 android:textColor="?attr/color_text_primary"
42 android:textSize="?attr/TextSizeHeadline"
43 android:textStyle="bold"/>
44
45 <TextView
46 android:id="@+id/key_error_message"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:padding="8dp"
50 android:textColor="?attr/color_text_primary"
51 android:textSize="?attr/TextSizeBody"/>
52 </LinearLayout>
53
54 </android.support.v7.widget.CardView>
55
56 <android.support.v7.widget.CardView
57 android:id="@+id/own_keys_card"
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:layout_marginBottom="@dimen/activity_vertical_margin"
61 android:layout_marginLeft="@dimen/activity_horizontal_margin"
62 android:layout_marginRight="@dimen/activity_horizontal_margin"
63 android:layout_marginTop="@dimen/activity_vertical_margin"
64 android:visibility="gone">
65
66 <LinearLayout
67 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
69 android:orientation="vertical"
70 android:padding="@dimen/infocard_padding">
71
72 <TextView
73 android:id="@+id/own_keys_title"
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content"
76 android:textColor="?attr/color_text_primary"
77 android:textSize="?attr/TextSizeHeadline"
78 android:textStyle="bold"/>
79
80 <LinearLayout
81 android:id="@+id/own_keys_details"
82 android:layout_width="fill_parent"
83 android:layout_height="wrap_content"
84 android:divider="?android:dividerHorizontal"
85 android:orientation="vertical"
86 android:showDividers="middle">
87 </LinearLayout>
88 </LinearLayout>
89
90 </android.support.v7.widget.CardView>
91
92 <LinearLayout
93 android:id="@+id/foreign_keys"
94 android:layout_width="fill_parent"
95 android:layout_height="wrap_content"
96 android:orientation="vertical"
97 android:visibility="gone">
98
99 </LinearLayout>
100
101 </LinearLayout>
102 </ScrollView>
103
104 <LinearLayout
105 android:id="@+id/button_bar"
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content"
108 android:layout_alignParentBottom="true"
109 android:layout_alignParentEnd="true"
110 android:layout_alignParentLeft="true"
111 android:layout_alignParentRight="true"
112 android:layout_alignParentStart="true">
113
114 <Button
115 android:id="@+id/cancel_button"
116 style="?android:attr/borderlessButtonStyle"
117 android:layout_width="0dp"
118 android:layout_height="wrap_content"
119 android:layout_weight="1"
120 android:text="@string/cancel"
121 android:textColor="?attr/color_text_primary"/>
122
123 <View
124 android:layout_width="1dp"
125 android:layout_height="fill_parent"
126 android:layout_marginBottom="7dp"
127 android:layout_marginTop="7dp"
128 android:background="?attr/divider"/>
129
130 <Button
131 android:id="@+id/save_button"
132 style="?android:attr/borderlessButtonStyle"
133 android:layout_width="0dp"
134 android:layout_height="wrap_content"
135 android:layout_weight="1"
136 android:enabled="true"
137 android:text="@string/done"
138 android:textColor="?attr/color_text_secondary"/>
139 </LinearLayout>
140 </RelativeLayout>
141</layout>