AvatarView icon indicating copy to clipboard operation
AvatarView copied to clipboard

Support other shapes

Open GXSZone opened this issue 3 years ago • 4 comments

GXSZone avatar Jan 02 '23 12:01 GXSZone

@GXSZone could you please clarify?

What's the current behaviour, what's desired?

vitorhugods avatar Jan 02 '23 13:01 vitorhugods

@GXSZone could you please clarify?

What's the current behaviour, what's desired?

If the head portrait is a rounded rectangle, the border should be changed to a rounded rectangle

image

GXSZone avatar Jan 02 '23 14:01 GXSZone

This is a big task. Everything inside the AvatarView expects a circle and draws it like a circle.

I have no plans in working on this for the moment.

I want to give it a go on remaking this library using Compose and allowing for different shapes and effects. But I haven't actually put any effort into it yet.

For the moment, if you do not need animations, check out GetStream/avatarview-android, as that should work as you expect.

vitorhugods avatar Jan 02 '23 14:01 vitorhugods

This is a big task. Everything inside the AvatarView expects a circle and draws it like a circle.

I have no plans in working on this for the moment.

I want to give it a go on remaking this library using Compose and allowing for different shapes and effects. But I haven't actually put any effort into it yet.

For the moment, if you do not need animations, check out GetStream/avatarview-android, as that should work as you expect.

Thank you. I will keep watching because it is really beautiful

GXSZone avatar Jan 02 '23 14:01 GXSZone