File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
java/fr/free/nrw/commons/achievements Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 33
33
public class AchievementsActivity extends NavigationBaseActivity {
34
34
35
35
private static final double BADGE_IMAGE_WIDTH_RATIO = 0.4 ;
36
- private static final double BADGE_IMAGE_HEIGHT_RATIO = 0.36 ;
36
+ private static final double BADGE_IMAGE_HEIGHT_RATIO = 0.3 ;
37
37
38
38
@ BindView (R .id .achievement_badge ) ImageView imageView ;
39
39
@ BindView (R .id .toolbar ) android .support .v7 .widget .Toolbar toolbar ;
@@ -60,7 +60,7 @@ protected void onCreate(Bundle savedInstanceState) {
60
60
imageView .getLayoutParams ();
61
61
params .height = (int ) (height *BADGE_IMAGE_HEIGHT_RATIO );
62
62
params .width = (int ) (width *BADGE_IMAGE_WIDTH_RATIO );
63
- imageView .setImageResource (R .drawable .sydney_opera_house );
63
+ imageView .setImageResource (R .drawable .featured );
64
64
imageView .requestLayout ();
65
65
66
66
setSupportActionBar (toolbar );
Original file line number Diff line number Diff line change 188
188
android : layout_height =" wrap_content"
189
189
style =" ?android:textAppearanceMedium"
190
190
android : layout_alignParentRight =" true"
191
- android : layout_marginEnd =" @dimen/activity_margin_horizontal "
191
+ android : layout_marginEnd =" 44dp "
192
192
android : layout_marginTop =" @dimen/activity_margin_horizontal"
193
193
android : layout_marginStart =" @dimen/activity_margin_horizontal"
194
194
android : text =" 2"
195
- android : layout_marginLeft =" @dimen/activity_margin_horizontal" />
195
+ android : layout_marginLeft =" @dimen/activity_margin_horizontal"
196
+ android : layout_marginRight =" 44dp" />
196
197
197
198
</RelativeLayout >
198
199
226
227
android : layout_height =" wrap_content"
227
228
style =" ?android:textAppearanceMedium"
228
229
android : layout_alignParentRight =" true"
229
- android : layout_marginEnd =" @dimen/activity_margin_horizontal "
230
+ android : layout_marginEnd =" 44dp "
230
231
android : layout_marginTop =" @dimen/activity_margin_horizontal"
231
232
android : layout_marginStart =" @dimen/activity_margin_horizontal"
232
233
android : layout_marginLeft =" @dimen/activity_margin_horizontal"
233
- android : text =" 2" />
234
+ android : text =" 2"
235
+ android : layout_marginRight =" 44dp" />
234
236
235
237
</RelativeLayout >
236
238
</LinearLayout >
You can’t perform that action at this time.
0 commit comments