Skip to content

Commit

Permalink
03.13 challenge45 delete
Browse files Browse the repository at this point in the history
03.13 challenge45 delete
  • Loading branch information
JIAH-LEA authored Mar 13, 2021
2 parents 89a996e + 0a1d510 commit c682d22
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ public void onDataChange(@NonNull DataSnapshot snapshot) {
badge4 = (ImageView) navHeader.findViewById(R.id.badge4);
badge4.setImageResource(R.drawable.challenge30);
}
if(dataSnapshot.getKey().equals("Challenge45")){
if(dataSnapshot.getKey().equals("Challenge60")){
badge5 = (ImageView) navHeader.findViewById(R.id.badge5);
badge5.setImageResource(R.drawable.challenge45);
badge5.setImageResource(R.drawable.challenge60);
}
}
}
Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions AmongEarth/app/src/main/res/layout/main_navheader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,15 @@
<ImageView
android:id="@+id/badge4"
android:layout_width="60dp"
android:layout_margin="8dp"
android:layout_height="60dp"
android:layout_weight="1"/>

<ImageView
android:id="@+id/badge5"
android:layout_width="60dp"
android:layout_margin="8dp"

android:layout_height="60dp"
android:layout_weight="1"/>
</LinearLayout>
Expand Down

0 comments on commit c682d22

Please sign in to comment.