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