Skip to content

Commit 3851d37

Browse files
committed
Improved the Image Bound and added strings
1 parent 22766fc commit 3851d37

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

app/src/main/java/fr/free/nrw/commons/Achievements.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
public class Achievements extends AppCompatActivity {
2828

29-
private static final double badge_image_ratio_width = 0.5;
30-
private static final double badge_image_ratio_height = 0.5;
29+
private static final double badge_image_ratio_width = 0.4;
30+
private static final double badge_image_ratio_height = 0.36;
3131
private ImageView imageView;
3232
@Override
3333
protected void onCreate(Bundle savedInstanceState) {

app/src/main/res/layout/activity_achievements.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
android:layout_height="wrap_content"
9393
android:layout_marginLeft="@dimen/activity_margin_horizontal"
9494
android:layout_marginStart="@dimen/activity_margin_horizontal"
95-
android:text="@string/images_uploaded" />
95+
android:text="@string/image_reverts" />
9696

9797
<com.dinuscxj.progressbar.CircleProgressBar
9898
android:layout_width="35dp"
@@ -125,7 +125,7 @@
125125
android:layout_height="wrap_content"
126126
android:layout_marginLeft="@dimen/activity_margin_horizontal"
127127
android:layout_marginStart="@dimen/activity_margin_horizontal"
128-
android:text="@string/images_uploaded" />
128+
android:text="@string/images_used_by_wiki" />
129129

130130
<com.dinuscxj.progressbar.CircleProgressBar
131131
android:layout_width="35dp"

app/src/main/res/values/strings.xml

+2
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,6 @@
290290
<string name="statistics_featured">Featured Images</string>
291291
<string name="level">LEVEL</string>
292292
<string name="images_uploaded">Images Uploaded</string>
293+
<string name="image_reverts">Images Not Reverted</string>
294+
<string name="images_used_by_wiki">Images Used By Wiki</string>
293295
</resources>

0 commit comments

Comments
 (0)