diff --git a/Habitica/res/layout-w320dp/party_member.xml b/Habitica/res/layout-w320dp/party_member.xml index b45981566..c859cfa3f 100644 --- a/Habitica/res/layout-w320dp/party_member.xml +++ b/Habitica/res/layout-w320dp/party_member.xml @@ -1,5 +1,6 @@ @@ -10,13 +11,14 @@ android:layout_margin="5dp" android:orientation="horizontal"> - + android:layout_height="147dp" + android:layout_marginRight="5dp" + app:showBackground="true" + app:showMount="true" + app:showPet="true" /> @@ -10,13 +11,14 @@ style="@style/CardContent" android:orientation="horizontal"> - + android:layout_height="90dp" + android:layout_marginRight="5dp" + app:showBackground="false" + app:showMount="false" + app:showPet="false" /> = 320) { - userPicture = new UserPicture(itemView.getContext(), true, true); - } else { - userPicture = new UserPicture(itemView.getContext(), false, false); - } } public void bind(HabitRPGUser user) { android.content.Context ctx = itemView.getContext(); - userPicture.setUser(user); - userPicture.setPictureOn(imageView); + avatarView.setUser(user); AvatarWithBarsViewModel.setHpBarData(hpBar, user.getStats(), ctx);