Skip to content

Commit

Permalink
03.13 challenge45 delete
Browse files Browse the repository at this point in the history
  • Loading branch information
JIAH-LEA committed Mar 13, 2021
1 parent 3122827 commit 0a1d510
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 0a1d510

Please sign in to comment.