You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently I cant make UserAvatarView scaled center cropped
SDK version
6.0.4
To Reproduce
Steps to reproduce the behavior:
Go to 'ChannelListView.'
Expected behavior
There should be option to set preferred scale type by styles or by attribute, and also I think default scale type of UserAvatarView must be ScaleType.CENTER_CROP.
Device:
Vendor and model: Pixel 7
Android version: 13
Screenshots
The text was updated successfully, but these errors were encountered:
Hello @Testtaccount
Currently the UserAvatarView doesn't expose this attribute, but you should be able to provide a custom UserAvatarRenderer and set ScaleType.CENTER_CROP to the target.
Something like:
This is for header avatar icon only, how to change just channels list item avatar icon scale and not write whole icon generation logic( I mean using ChatUI.channelAvatarRenderer = ChannelAvatarRenderer { ... )?
Describe the bug
Currently I cant make UserAvatarView scaled center cropped
SDK version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There should be option to set preferred scale type by styles or by attribute, and also I think default scale type of UserAvatarView must be ScaleType.CENTER_CROP.
Device:
Screenshots
The text was updated successfully, but these errors were encountered: