|
5 | 5 | android:layout_width="match_parent"
|
6 | 6 | android:layout_height="match_parent">
|
7 | 7 |
|
| 8 | + <ScrollView |
| 9 | + android:layout_width="wrap_content" |
| 10 | + android:layout_height="wrap_content"> |
8 | 11 | <LinearLayout
|
9 | 12 | android:layout_width="match_parent"
|
10 | 13 | android:layout_height="match_parent"
|
|
14 | 17 | layout="@layout/toolbar"
|
15 | 18 | android:layout_width="match_parent"
|
16 | 19 | android:layout_height="wrap_content" />
|
17 |
| - |
18 | 20 | <RelativeLayout
|
19 | 21 | android:layout_width="match_parent"
|
20 |
| - android:layout_height="0dp" |
21 |
| - android:layout_weight="1.8" |
22 |
| - android:orientation="vertical" |
| 22 | + android:layout_height="wrap_content" |
23 | 23 | android:layout_below="@+id/toolbar"
|
24 |
| - android:background="#D6DCE0"> |
| 24 | + android:background="#D6DCE0" |
| 25 | + android:orientation="vertical"> |
| 26 | + |
25 | 27 | <TextView
|
| 28 | + style="?android:textAppearanceLarge" |
26 | 29 | android:layout_width="wrap_content"
|
27 | 30 | android:layout_height="wrap_content"
|
28 |
| - style="?android:textAppearanceLarge" |
29 |
| - android:layout_marginTop="@dimen/activity_margin_horizontal" |
30 |
| - android:layout_marginStart="@dimen/activity_margin_horizontal" |
31 | 31 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
32 |
| - android:text="@string/level"/> |
| 32 | + android:layout_marginStart="@dimen/activity_margin_horizontal" |
| 33 | + android:layout_marginTop="@dimen/activity_margin_horizontal" |
| 34 | + android:text="@string/level" |
| 35 | + android:id="@+id/achievement_level"/> |
33 | 36 |
|
34 | 37 | <ImageView
|
| 38 | + android:id="@+id/achievement_badge" |
35 | 39 | android:layout_width="wrap_content"
|
36 | 40 | android:layout_height="wrap_content"
|
37 |
| - android:layout_marginVertical="@dimen/activity_margin_vertical" |
38 |
| - android:id="@+id/achievement_badge" |
39 |
| - android:layout_above="@+id/layout_image_uploaded" |
40 |
| - android:layout_marginBottom="@dimen/activity_margin_vertical" |
41 |
| - android:layout_centerHorizontal="true"/> |
| 41 | + android:layout_below="@id/achievement_level" |
| 42 | + android:layout_centerHorizontal="true" |
| 43 | + android:layout_marginVertical="@dimen/activity_margin_vertical" /> |
| 44 | + |
42 | 45 | <RelativeLayout
|
| 46 | + android:id="@+id/layout_image_uploaded" |
43 | 47 | android:layout_width="match_parent"
|
44 | 48 | android:layout_height="wrap_content"
|
45 |
| - android:id="@+id/layout_image_uploaded" |
46 |
| - android:layout_above="@+id/layout_image_reverts" |
| 49 | + android:layout_below="@+id/achievement_badge" |
47 | 50 | android:layout_marginEnd="@dimen/activity_margin_horizontal"
|
48 | 51 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
49 | 52 | android:layout_marginRight="@dimen/activity_margin_horizontal"
|
50 | 53 | android:layout_marginStart="@dimen/activity_margin_horizontal">
|
| 54 | + |
51 | 55 | <TextView
|
| 56 | + style="?android:textAppearanceMedium" |
52 | 57 | android:layout_width="wrap_content"
|
53 | 58 | android:layout_height="wrap_content"
|
54 |
| - style="?android:textAppearanceMedium" |
55 |
| - android:layout_marginTop="@dimen/activity_margin_horizontal" |
56 |
| - android:layout_marginStart="@dimen/activity_margin_horizontal" |
57 | 59 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
58 |
| - android:text="@string/images_uploaded"/> |
| 60 | + android:layout_marginStart="@dimen/activity_margin_horizontal" |
| 61 | + android:text="@string/images_uploaded" /> |
| 62 | + |
59 | 63 | <com.dinuscxj.progressbar.CircleProgressBar
|
60 |
| - android:layout_marginTop="4dp" |
61 |
| - android:progress="50" |
62 |
| - app:style="solid_line" |
| 64 | + android:layout_width="35dp" |
| 65 | + android:layout_height="35dp" |
63 | 66 | android:layout_alignParentRight="true"
|
64 |
| - android:layout_marginHorizontal="@dimen/activity_margin_horizontal" |
65 |
| - app:progress_text_format_pattern="12/24" |
66 |
| - app:progress_stroke_width="3dp" |
67 |
| - app:progress_start_color="#3A3381" |
| 67 | + android:layout_marginRight="32dp" |
| 68 | + android:progress="50" |
68 | 69 | app:progress_end_color="#8C8B98"
|
69 |
| - android:layout_width="50dp" |
70 |
| - android:layout_height="50dp" /> |
| 70 | + app:progress_start_color="#3A3381" |
| 71 | + app:progress_stroke_width="3dp" |
| 72 | + app:progress_text_format_pattern="12/24" |
| 73 | + app:style="solid_line" /> |
71 | 74 |
|
72 | 75 |
|
73 | 76 | </RelativeLayout>
|
| 77 | + |
74 | 78 | <RelativeLayout
|
| 79 | + android:id="@+id/layout_image_reverts" |
75 | 80 | android:layout_width="match_parent"
|
76 | 81 | android:layout_height="wrap_content"
|
77 |
| - android:id="@+id/layout_image_reverts" |
78 |
| - android:layout_above="@+id/layout_image_used_by_wiki" |
| 82 | + android:layout_marginTop="4dp" |
| 83 | + android:layout_below="@+id/layout_image_uploaded" |
79 | 84 | android:layout_marginEnd="@dimen/activity_margin_horizontal"
|
80 | 85 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
81 | 86 | android:layout_marginRight="@dimen/activity_margin_horizontal"
|
82 | 87 | android:layout_marginStart="@dimen/activity_margin_horizontal">
|
| 88 | + |
83 | 89 | <TextView
|
| 90 | + style="?android:textAppearanceMedium" |
84 | 91 | android:layout_width="wrap_content"
|
85 | 92 | android:layout_height="wrap_content"
|
86 |
| - style="?android:textAppearanceMedium" |
87 |
| - android:layout_marginTop="@dimen/activity_margin_horizontal" |
88 |
| - android:layout_marginStart="@dimen/activity_margin_horizontal" |
89 | 93 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
90 |
| - android:text="@string/images_uploaded"/> |
| 94 | + android:layout_marginStart="@dimen/activity_margin_horizontal" |
| 95 | + android:text="@string/images_uploaded" /> |
| 96 | + |
91 | 97 | <com.dinuscxj.progressbar.CircleProgressBar
|
92 |
| - android:layout_marginTop="4dp" |
93 |
| - android:progress="50" |
94 |
| - app:style="solid_line" |
| 98 | + android:layout_width="35dp" |
| 99 | + android:layout_height="35dp" |
95 | 100 | android:layout_alignParentRight="true"
|
96 |
| - android:layout_marginHorizontal="@dimen/activity_margin_horizontal" |
97 |
| - app:progress_text_format_pattern="12/24" |
98 |
| - app:progress_stroke_width="3dp" |
99 |
| - app:progress_start_color="#3A3381" |
| 101 | + android:layout_marginRight="32dp" |
| 102 | + android:progress="50" |
100 | 103 | app:progress_end_color="#8C8B98"
|
101 |
| - android:layout_width="50dp" |
102 |
| - android:layout_height="50dp" /> |
| 104 | + app:progress_start_color="#3A3381" |
| 105 | + app:progress_stroke_width="3dp" |
| 106 | + app:progress_text_format_pattern="12/24" |
| 107 | + app:style="solid_line" /> |
103 | 108 | </RelativeLayout>
|
| 109 | + |
104 | 110 | <RelativeLayout
|
| 111 | + android:id="@+id/layout_image_used_by_wiki" |
105 | 112 | android:layout_width="match_parent"
|
106 | 113 | android:layout_height="wrap_content"
|
107 |
| - android:id="@+id/layout_image_used_by_wiki" |
| 114 | + android:layout_marginTop="4dp" |
| 115 | + android:layout_below="@+id/layout_image_reverts" |
108 | 116 | android:layout_marginBottom="@dimen/activity_margin_vertical"
|
109 |
| - android:layout_alignParentBottom="true" |
110 | 117 | android:layout_marginEnd="@dimen/activity_margin_horizontal"
|
111 | 118 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
112 | 119 | android:layout_marginRight="@dimen/activity_margin_horizontal"
|
113 | 120 | android:layout_marginStart="@dimen/activity_margin_horizontal">
|
| 121 | + |
114 | 122 | <TextView
|
| 123 | + style="?android:textAppearanceMedium" |
115 | 124 | android:layout_width="wrap_content"
|
116 | 125 | android:layout_height="wrap_content"
|
117 |
| - style="?android:textAppearanceMedium" |
118 |
| - android:layout_marginTop="@dimen/activity_margin_horizontal" |
119 |
| - android:layout_marginStart="@dimen/activity_margin_horizontal" |
120 | 126 | android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
121 |
| - android:text="@string/images_uploaded"/> |
| 127 | + android:layout_marginStart="@dimen/activity_margin_horizontal" |
| 128 | + android:text="@string/images_uploaded" /> |
| 129 | + |
122 | 130 | <com.dinuscxj.progressbar.CircleProgressBar
|
123 |
| - android:layout_marginTop="4dp" |
124 |
| - android:progress="50" |
125 |
| - app:style="solid_line" |
| 131 | + android:layout_width="35dp" |
| 132 | + android:layout_height="35dp" |
126 | 133 | android:layout_alignParentRight="true"
|
127 |
| - android:layout_marginHorizontal="@dimen/activity_margin_horizontal" |
128 |
| - app:progress_text_format_pattern="12/24" |
129 |
| - app:progress_stroke_width="2.5dp" |
130 |
| - app:progress_start_color="#3A3381" |
| 134 | + android:layout_marginRight="32dp" android:progress="50" |
131 | 135 | app:progress_end_color="#8C8B98"
|
132 |
| - android:layout_width="50dp" |
133 |
| - android:layout_height="50dp" /> |
| 136 | + app:progress_start_color="#3A3381" |
| 137 | + app:progress_stroke_width="2.5dp" |
| 138 | + app:progress_text_format_pattern="12/24" |
| 139 | + app:style="solid_line" /> |
134 | 140 | </RelativeLayout>
|
135 | 141 |
|
136 | 142 | </RelativeLayout>
|
137 | 143 | <LinearLayout
|
138 | 144 | android:layout_width="match_parent"
|
139 |
| - android:layout_height="0dp" |
140 |
| - android:orientation="vertical" |
141 |
| - android:layout_weight="1"> |
| 145 | + android:layout_height="wrap_content" |
| 146 | + android:orientation="vertical"> |
142 | 147 |
|
143 | 148 | <TextView
|
144 | 149 | android:layout_width="wrap_content"
|
|
220 | 225 | </LinearLayout>
|
221 | 226 |
|
222 | 227 | </LinearLayout>
|
| 228 | + </ScrollView> |
223 | 229 | <android.support.design.widget.NavigationView
|
224 | 230 | android:id="@+id/navigation_view"
|
225 | 231 | android:layout_width="wrap_content"
|
|
0 commit comments