11<?xml version =" 1.0" encoding =" utf-8" ?>
22<RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- android : layout_width =" fill_parent"
4- android : layout_height =" fill_parent"
5- android : padding =" 10dp" >
3+ android : id =" @+id/about_root"
4+ android : layout_width =" match_parent"
5+ android : layout_height =" match_parent"
6+ android : orientation =" vertical"
7+ android : padding =" 10dp" >
68
7- <ImageView
8- android : id =" @+id/about_logo"
9- android : layout_width =" wrap_content"
10- android : layout_height =" wrap_content"
11- android : contentDescription =" @string/acc.osmtracker_logo"
12- android : src =" @drawable/icon_100x100" >
13- </ImageView >
14-
15- <TextView
16- android : id =" @+id/about_appname"
17- style =" @android:style/TextAppearance.Large"
18- android : layout_width =" fill_parent"
9+ <LinearLayout
10+ android : id =" @+id/about_header"
11+ android : layout_width =" match_parent"
1912 android : layout_height =" wrap_content"
20- android : layout_toRightOf =" @+id/about_logo"
21- android : text =" @string/app_name" >
22- </TextView >
13+ android : layout_alignParentTop =" true" >
2314
24- <TextView
25- android : id =" @+id/about_version_label"
26- android : layout_width =" wrap_content"
27- android : layout_height =" wrap_content"
28- android : layout_below =" @+id/about_appname"
29- android : layout_toRightOf =" @id/about_logo"
30- android : text =" v" >
31- </TextView >
32-
33- <TextView
34- android : id =" @+id/about_version"
35- android : layout_width =" wrap_content"
36- android : layout_height =" wrap_content"
37- android : layout_below =" @id/about_appname"
38- android : layout_toRightOf =" @id/about_version_label"
39- android : text =" {versionName}" >
40- </TextView >
15+ <ImageView
16+ android : id =" @+id/about_logo"
17+ android : layout_width =" wrap_content"
18+ android : layout_height =" wrap_content"
19+ android : contentDescription =" @string/acc.osmtracker_logo"
20+ android : src =" @drawable/icon_100x100" />
4121
42- <LinearLayout
43- android : layout_width =" fill_parent"
44- android : layout_height =" fill_parent"
45- android : layout_below =" @id/about_logo"
46- android : orientation =" vertical"
47- android : layout_alignParentBottom =" false"
48- android : layout_alignParentLeft =" false" >
49-
50- <RelativeLayout
51- android : layout_width =" fill_parent"
52- android : layout_height =" fill_parent"
53- android : layout_weight =" 1"
54- android : gravity =" center" >
22+ <LinearLayout
23+ android : layout_width =" match_parent"
24+ android : layout_height =" wrap_content"
25+ android : orientation =" vertical" >
5526
5627 <TextView
57- android : id =" @+id/about_text"
28+ android : id =" @+id/about_appname"
29+ style =" @android:style/TextAppearance.Large"
30+ android : layout_width =" fill_parent"
31+ android : layout_height =" wrap_content"
32+ android : text =" @string/app_name" />
33+
34+ <TextView
35+ android : id =" @+id/about_version"
5836 android : layout_width =" wrap_content"
5937 android : layout_height =" wrap_content"
60- android : layout_centerInParent =" true"
38+ android : text =" v{versionName}" />
39+ </LinearLayout >
40+
41+ </LinearLayout >
42+
43+ <ScrollView
44+ android : layout_width =" match_parent"
45+ android : layout_height =" match_parent"
46+ android : layout_above =" @+id/about_footer"
47+ android : layout_below =" @+id/about_header"
48+ android : fillViewport =" true" >
49+
50+ <LinearLayout
51+ android : layout_width =" match_parent"
52+ android : layout_height =" wrap_content"
53+ android : gravity =" center"
54+ android : orientation =" vertical" >
55+
56+ <TextView
57+ android : id =" @+id/about_text"
58+ android : layout_width =" match_parent"
59+ android : layout_height =" wrap_content"
6160 android : gravity =" center"
62- android : text =" @string/about_text" >
63- </TextView >
61+ android : text =" @string/about_text" />
6462
6563 <TextView
66- android : layout_width =" wrap_content "
64+ android : layout_width =" match_parent "
6765 android : layout_height =" wrap_content"
68- android : layout_below =" @id/about_text"
69- android : layout_centerInParent =" true"
7066 android : autoLink =" all"
7167 android : gravity =" center"
72- android : text =" @string/about_link" >
73- </TextView >
74- </RelativeLayout >
75-
76- <RelativeLayout
77- android : layout_width =" fill_parent"
78- android : layout_height =" fill_parent"
79- android : layout_weight =" 1"
80- android : gravity =" center" >
68+ android : text =" @string/about_link" />
8169
8270 <TextView
8371 android : id =" @+id/about_translate_text"
84- android : layout_width =" wrap_content "
72+ android : layout_width =" match_parent "
8573 android : layout_height =" wrap_content"
86- android : layout_centerInParent = " true "
74+ android : layout_marginTop = " 20dp "
8775 android : gravity =" center"
88- android : text =" @string/about_translate_text" >
89- </TextView >
76+ android : text =" @string/about_translate_text" />
9077
9178 <TextView
9279 android : layout_width =" wrap_content"
9380 android : layout_height =" wrap_content"
94- android : layout_below =" @id/about_translate_text"
95- android : layout_centerInParent =" true"
9681 android : autoLink =" all"
9782 android : gravity =" center"
98- android : text =" @string/about_translate_link" >
99- </TextView >
100- </RelativeLayout >
83+ android : text =" @string/about_translate_link" />
10184
85+ </LinearLayout >
10286
103- <LinearLayout
104- android : orientation =" horizontal"
105- android : layout_width =" fill_parent"
106- android : layout_height =" wrap_content" >
87+ </ScrollView >
10788
108- < Button
109- android : id =" @+id/about_debug_info_button "
110- android : layout_width =" wrap_content "
111- android : layout_height =" wrap_content"
112- android : layout_weight = " 1 "
113- android : text = " @string/about_debug_info " / >
89+ < LinearLayout
90+ android : id =" @+id/about_footer "
91+ android : layout_width =" match_parent "
92+ android : layout_height =" wrap_content"
93+ android : layout_alignParentBottom = " true "
94+ android : orientation = " horizontal " >
11495
115- <Button
116- android : id =" @+id/about_export_db_button"
117- android : layout_width =" wrap_content"
118- android : layout_height =" wrap_content"
119- android : layout_weight =" 1"
120- android : text =" @string/about_export_db" />
121- </LinearLayout >
96+ <Button
97+ android : id =" @+id/about_debug_info_button"
98+ android : layout_width =" wrap_content"
99+ android : layout_height =" wrap_content"
100+ android : layout_weight =" 1"
101+ android : text =" @string/about_debug_info" />
122102
103+ <Button
104+ android : id =" @+id/about_export_db_button"
105+ android : layout_width =" wrap_content"
106+ android : layout_height =" wrap_content"
107+ android : layout_weight =" 1"
108+ android : text =" @string/about_export_db" />
123109 </LinearLayout >
124110
125111</RelativeLayout >
0 commit comments