mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Improved the Image Bound and added strings
This commit is contained in:
parent
22766fc634
commit
3851d37a38
3 changed files with 6 additions and 4 deletions
|
|
@ -26,8 +26,8 @@ import fr.free.nrw.commons.theme.NavigationBaseActivity;
|
|||
|
||||
public class Achievements extends AppCompatActivity {
|
||||
|
||||
private static final double badge_image_ratio_width = 0.5;
|
||||
private static final double badge_image_ratio_height = 0.5;
|
||||
private static final double badge_image_ratio_width = 0.4;
|
||||
private static final double badge_image_ratio_height = 0.36;
|
||||
private ImageView imageView;
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginStart="@dimen/activity_margin_horizontal"
|
||||
android:text="@string/images_uploaded" />
|
||||
android:text="@string/image_reverts" />
|
||||
|
||||
<com.dinuscxj.progressbar.CircleProgressBar
|
||||
android:layout_width="35dp"
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginStart="@dimen/activity_margin_horizontal"
|
||||
android:text="@string/images_uploaded" />
|
||||
android:text="@string/images_used_by_wiki" />
|
||||
|
||||
<com.dinuscxj.progressbar.CircleProgressBar
|
||||
android:layout_width="35dp"
|
||||
|
|
|
|||
|
|
@ -290,4 +290,6 @@
|
|||
<string name="statistics_featured">Featured Images</string>
|
||||
<string name="level">LEVEL</string>
|
||||
<string name="images_uploaded">Images Uploaded</string>
|
||||
<string name="image_reverts">Images Not Reverted</string>
|
||||
<string name="images_used_by_wiki">Images Used By Wiki</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue