Add RoundedImageView for avatars (#739)
* Add RoundedImageView for avatars * RoundedImageView: Remove unused things, fix touchable area
This commit is contained in:
parent
562beacfc1
commit
133808891d
26 changed files with 367 additions and 49 deletions
|
|
@ -21,13 +21,13 @@ import android.view.LayoutInflater;
|
|||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.keylesspalace.tusky.R;
|
||||
import com.keylesspalace.tusky.entity.Account;
|
||||
import com.keylesspalace.tusky.interfaces.AccountActionListener;
|
||||
import com.keylesspalace.tusky.util.CustomEmojiHelper;
|
||||
import com.pkmmte.view.CircularImageView;
|
||||
import com.squareup.picasso.Picasso;
|
||||
|
||||
public class BlocksAdapter extends AccountAdapter {
|
||||
|
|
@ -78,7 +78,7 @@ public class BlocksAdapter extends AccountAdapter {
|
|||
}
|
||||
|
||||
static class BlockedUserViewHolder extends RecyclerView.ViewHolder {
|
||||
private CircularImageView avatar;
|
||||
private ImageView avatar;
|
||||
private TextView username;
|
||||
private TextView displayName;
|
||||
private ImageButton unblock;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue