Questions tagged [roundedbitmapdrawable]
7 questions
17
votes
5 answers
How to mimic the listView stickey-items like on Lollipop's contacts app?
Background
Google has recently published a new version of Android, which has a contact app that look like this :
The problem
I need to mimic this kind of list, but I can't find out how to do it well.
This consists of 3 main components:
the stickey…

android developer
- 114,585
- 152
- 739
- 1,270
3
votes
4 answers
Using Picasso with RoundedBitmapDrawable
I've seen Udacity lectures about Material Design and there was mentioned usage of RoundedBitmapDrawable to achieve circular view. However I have some troubles to make it work with Picasso.
I'm not sure how exactly Picasso works, but I have large,…

VizGhar
- 3,036
- 1
- 25
- 38
2
votes
1 answer
Casting from RoundedBitmapDrawable to BitmapDrawable
Everything worked well before starting using RoundedBitmapDrawable to round Bitmap's corners.
After starting using RoundedBitmapDrawable, I'm getting:
java.lang.ClassCastException:
android.support.v4.graphics.drawable.RoundedBitmapDrawable21…

Miko Diko
- 944
- 1
- 13
- 33
2
votes
1 answer
Android - How to create a view like this using recycler view?
Can anyone help me with this custom layout inside a card view?
I am showing a list of items and need to show an item like this. But cant understand how to implement this.
Basically, There is a recycler view
Inside it, there are cards.
The card…

Mayur Padshala
- 2,037
- 2
- 19
- 19
1
vote
0 answers
setCircular for a RoundedBitmapDrawable doesn't exist
I'm trying to create a Circular image view by using the following code:
Bitmap bitmap = BitmapFactory.decodeResource(mContext.getResources(), R.drawable.user);
RoundedBitmapDrawable drawable =…

Avi Zana
- 89
- 8
0
votes
0 answers
How to save RoundedBitmapDrawable
I want to change a shape of image from square to round. And after that I am planning to save this bitmap. But i faced with problem I can't cast RoundedBitmapDrawable to Bitmap? Or may be exist another way for saving RoundedBitmapDrawable instance to…

Delphian
- 1,650
- 3
- 15
- 31
0
votes
1 answer
Lag with ViewPager for blurred and rounded image
private class CustomPagerAdapter extends PagerAdapter {
private Context mContext;
private LayoutInflater mLayoutInflater;
private ImageView displayArt;
private ImageView songImage;
private TextView…

Lavanya Velusamy
- 333
- 1
- 6
- 16