add new elephant friends (#757)
* add new elephant friends * add art license * fix typo
This commit is contained in:
parent
04c842afc4
commit
8930d277e6
13 changed files with 207 additions and 21 deletions
|
|
@ -42,11 +42,8 @@ public class FooterViewHolder extends RecyclerView.ViewHolder {
|
|||
progressBar = itemView.findViewById(R.id.footer_progress_bar);
|
||||
endMessage = itemView.findViewById(R.id.footer_end_message);
|
||||
Drawable top = AppCompatResources.getDrawable(itemView.getContext(),
|
||||
R.drawable.elephant_friend);
|
||||
if (top != null) {
|
||||
top.setBounds(0, 0, top.getIntrinsicWidth() / 2, top.getIntrinsicHeight() / 2);
|
||||
}
|
||||
endMessage.setCompoundDrawables(null, top, null, null);
|
||||
R.drawable.elephant_friend_empty);
|
||||
endMessage.setCompoundDrawablesWithIntrinsicBounds(null, top, null, null);
|
||||
}
|
||||
|
||||
public void setState(State state) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue