Revision e71baee1
Added by Leszek Koltunski about 1 year ago
src/main/res/layout/dialog_about.xml | ||
---|---|---|
6 | 6 |
android:orientation="vertical"> |
7 | 7 |
|
8 | 8 |
<LinearLayout |
9 |
android:id="@+id/about_share_layout" |
|
9 | 10 |
android:layout_width="fill_parent" |
10 |
android:layout_height="wrap_content"
|
|
11 |
android:layout_height="100dp"
|
|
11 | 12 |
android:gravity="center|fill_horizontal" |
12 | 13 |
android:layout_marginLeft="10dp" |
13 | 14 |
android:layout_marginRight="10dp" |
... | ... | |
16 | 17 |
android:orientation="horizontal"> |
17 | 18 |
|
18 | 19 |
<ImageView |
19 |
android:layout_gravity="center"
|
|
20 |
android:layout_gravity="top"
|
|
20 | 21 |
android:layout_height="wrap_content" |
21 |
android:layout_width="wrap_content" |
|
22 |
android:src="@drawable/share"/> |
|
22 |
android:layout_marginStart="5dp" |
|
23 |
android:layout_width="0dp" |
|
24 |
android:layout_weight="0.25" |
|
25 |
android:src="@drawable/ui_share"/> |
|
23 | 26 |
|
24 |
<TextView |
|
25 |
android:id="@+id/about_share_string" |
|
26 |
android:layout_width="wrap_content" |
|
27 |
android:layout_height="wrap_content" |
|
28 |
android:gravity="start" |
|
29 |
android:textSize="24sp" |
|
30 |
android:text="@string/share" |
|
31 |
android:layout_marginTop="10dp" |
|
32 |
android:layout_marginLeft="10dp" |
|
33 |
android:layout_marginRight="10dp" |
|
34 |
android:layout_marginBottom="10dp"/> |
|
27 |
<LinearLayout |
|
28 |
android:layout_width="0dp" |
|
29 |
android:layout_height="match_parent" |
|
30 |
android:layout_weight="1" |
|
31 |
android:gravity="center|fill_horizontal" |
|
32 |
android:background="@color/dark_grey" |
|
33 |
android:orientation="vertical"> |
|
34 |
|
|
35 |
<TextView |
|
36 |
android:id="@+id/about_share_string" |
|
37 |
android:layout_width="match_parent" |
|
38 |
android:layout_height="wrap_content" |
|
39 |
android:gravity="start" |
|
40 |
android:textSize="20sp" |
|
41 |
android:text="@string/share" |
|
42 |
android:layout_marginTop="5dp" |
|
43 |
android:layout_marginLeft="10dp" |
|
44 |
android:layout_marginRight="10dp" |
|
45 |
android:layout_marginBottom="5dp"/> |
|
46 |
</LinearLayout> |
|
35 | 47 |
</LinearLayout> |
36 | 48 |
|
37 | 49 |
<LinearLayout |
50 |
android:id="@+id/about_email_layout" |
|
38 | 51 |
android:layout_width="fill_parent" |
39 |
android:layout_height="wrap_content"
|
|
52 |
android:layout_height="100dp"
|
|
40 | 53 |
android:gravity="center|fill_horizontal" |
41 | 54 |
android:layout_marginLeft="10dp" |
42 | 55 |
android:layout_marginRight="10dp" |
... | ... | |
45 | 58 |
android:orientation="horizontal"> |
46 | 59 |
|
47 | 60 |
<ImageView |
48 |
android:layout_gravity="center"
|
|
61 |
android:layout_gravity="top"
|
|
49 | 62 |
android:layout_height="wrap_content" |
50 |
android:layout_width="wrap_content" |
|
51 |
android:src="@drawable/email"/> |
|
63 |
android:layout_marginStart="5dp" |
|
64 |
android:layout_width="0dp" |
|
65 |
android:layout_weight="0.25" |
|
66 |
android:src="@drawable/ui_contact"/> |
|
52 | 67 |
|
53 | 68 |
<LinearLayout |
54 |
android:layout_width="match_parent"
|
|
69 |
android:layout_width="0dp"
|
|
55 | 70 |
android:layout_height="match_parent" |
71 |
android:layout_weight="1" |
|
56 | 72 |
android:gravity="center|fill_horizontal" |
57 |
android:layout_marginLeft="10dp" |
|
58 |
android:layout_marginRight="10dp" |
|
59 | 73 |
android:background="@color/dark_grey" |
60 | 74 |
android:orientation="vertical"> |
61 | 75 |
|
... | ... | |
64 | 78 |
android:layout_width="wrap_content" |
65 | 79 |
android:layout_height="wrap_content" |
66 | 80 |
android:gravity="start" |
67 |
android:textSize="18sp"
|
|
81 |
android:textSize="20sp"
|
|
68 | 82 |
android:text="@string/contact" |
69 | 83 |
android:layout_marginTop="5dp" |
70 | 84 |
android:layout_marginLeft="10dp" |
... | ... | |
75 | 89 |
android:layout_width="wrap_content" |
76 | 90 |
android:layout_height="wrap_content" |
77 | 91 |
android:gravity="start" |
78 |
android:textSize="18sp"
|
|
92 |
android:textSize="14sp"
|
|
79 | 93 |
android:text="@string/email" |
80 |
android:layout_marginTop="5dp" |
|
94 |
android:layout_marginLeft="10dp" |
|
95 |
android:layout_marginRight="10dp"/> |
|
96 |
<TextView |
|
97 |
android:id="@+id/about_mail_address" |
|
98 |
android:layout_width="wrap_content" |
|
99 |
android:layout_height="wrap_content" |
|
100 |
android:gravity="start" |
|
101 |
android:textSize="14sp" |
|
102 |
android:text="@string/email_address" |
|
81 | 103 |
android:layout_marginLeft="10dp" |
82 | 104 |
android:layout_marginRight="10dp" |
83 | 105 |
android:layout_marginBottom="5dp"/> |
84 | 106 |
</LinearLayout> |
85 | 107 |
</LinearLayout> |
108 |
|
|
109 |
<LinearLayout |
|
110 |
android:id="@+id/about_new_layout" |
|
111 |
android:layout_width="fill_parent" |
|
112 |
android:layout_height="150dp" |
|
113 |
android:gravity="center|fill_horizontal" |
|
114 |
android:layout_marginLeft="10dp" |
|
115 |
android:layout_marginRight="10dp" |
|
116 |
android:layout_marginTop="5dp" |
|
117 |
android:background="@color/dark_grey" |
|
118 |
android:orientation="horizontal"> |
|
119 |
|
|
120 |
<ImageView |
|
121 |
android:layout_gravity="top" |
|
122 |
android:layout_height="wrap_content" |
|
123 |
android:layout_marginStart="5dp" |
|
124 |
android:layout_width="0dp" |
|
125 |
android:layout_weight="0.25" |
|
126 |
android:src="@drawable/ui_new"/> |
|
127 |
|
|
128 |
<ScrollView |
|
129 |
android:id="@+id/new_scroll" |
|
130 |
android:layout_width="0dp" |
|
131 |
android:layout_height="match_parent" |
|
132 |
android:layout_weight="1" |
|
133 |
android:paddingTop="10dp" |
|
134 |
android:paddingBottom="10dp" |
|
135 |
android:paddingLeft="10dp" |
|
136 |
android:paddingRight="10dp"> |
|
137 |
|
|
138 |
<LinearLayout |
|
139 |
android:id="@+id/new_scrollable_main_layout" |
|
140 |
android:layout_width="match_parent" |
|
141 |
android:layout_height="wrap_content" |
|
142 |
android:orientation="vertical"> |
|
143 |
|
|
144 |
<TextView |
|
145 |
android:id="@+id/new_scrollable_message" |
|
146 |
android:layout_width="match_parent" |
|
147 |
android:layout_height="match_parent" |
|
148 |
android:text="@string/credits1" |
|
149 |
android:gravity="start"/> |
|
150 |
</LinearLayout> |
|
151 |
</ScrollView> |
|
152 |
</LinearLayout> |
|
153 |
|
|
154 |
<LinearLayout |
|
155 |
android:id="@+id/about_coming_layout" |
|
156 |
android:layout_width="fill_parent" |
|
157 |
android:layout_height="150dp" |
|
158 |
android:gravity="center|fill_horizontal" |
|
159 |
android:layout_marginLeft="10dp" |
|
160 |
android:layout_marginRight="10dp" |
|
161 |
android:layout_marginTop="5dp" |
|
162 |
android:background="@color/dark_grey" |
|
163 |
android:orientation="horizontal"> |
|
164 |
|
|
165 |
<ImageView |
|
166 |
android:layout_gravity="top" |
|
167 |
android:layout_height="wrap_content" |
|
168 |
android:layout_marginStart="5dp" |
|
169 |
android:layout_width="0dp" |
|
170 |
android:layout_weight="0.25" |
|
171 |
android:src="@drawable/ui_coming"/> |
|
172 |
|
|
173 |
<ScrollView |
|
174 |
android:id="@+id/coming_scroll" |
|
175 |
android:layout_width="0dp" |
|
176 |
android:layout_height="match_parent" |
|
177 |
android:layout_weight="1" |
|
178 |
android:paddingTop="10dp" |
|
179 |
android:paddingBottom="10dp" |
|
180 |
android:paddingLeft="10dp" |
|
181 |
android:paddingRight="10dp"> |
|
182 |
|
|
183 |
<LinearLayout |
|
184 |
android:id="@+id/coming_scrollable_main_layout" |
|
185 |
android:layout_width="match_parent" |
|
186 |
android:layout_height="wrap_content" |
|
187 |
android:orientation="vertical"> |
|
188 |
|
|
189 |
<TextView |
|
190 |
android:id="@+id/coming_scrollable_message" |
|
191 |
android:layout_width="match_parent" |
|
192 |
android:layout_height="match_parent" |
|
193 |
android:text="@string/credits2" |
|
194 |
android:gravity="start"/> |
|
195 |
</LinearLayout> |
|
196 |
</ScrollView> |
|
197 |
</LinearLayout> |
|
198 |
|
|
86 | 199 |
</LinearLayout> |
Also available in: Unified diff
Dialog About.