mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Added the structure for badge
This commit is contained in:
parent
7bd6394234
commit
e0969c2ba4
2 changed files with 34 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ public class AchievementsActivity extends NavigationBaseActivity {
|
|||
imageView.getLayoutParams();
|
||||
params.height = (int) (height * BADGE_IMAGE_HEIGHT_RATIO);
|
||||
params.width = (int) (width * BADGE_IMAGE_WIDTH_RATIO);
|
||||
imageView.setImageResource(R.drawable.featured);
|
||||
imageView.setImageResource(R.drawable.badge);
|
||||
imageView.requestLayout();
|
||||
|
||||
setSupportActionBar(toolbar);
|
||||
|
|
|
|||
33
app/src/main/res/drawable-mdpi/badge.xml
Normal file
33
app/src/main/res/drawable-mdpi/badge.xml
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue