[HELP] Gif very thin using wrap content
p4ulor opened this issue · 5 comments
p4ulor commented
Hey,
I'm trying to use your widget on a dialog, but wrap_content isn't working for me. It appears very thin like this:
Only when I set a height or width it works, like this:
Here is where I open the dialog
Here is the layout where I use your widget
Can you help me on how to keep the original ratio of the image, so that it doesn't look stretch out and looks good? Thanks!
Sorry I'm a beginner
koral-- commented
Is behavior the same if you use an ImageView
instead of GifImageView
?
p4ulor commented
koral-- commented
By the same behavior, I meant measurement.
Ofc ImageView does not support animated GIFs OOTB.
If wrap_content is ignored in the same way on both views then the cause is not located in this library but somewhere else in your code.
Does it reproduce in a very minimal project? I mean an empty Activity with only dialog, which layout consists only of ImageView, without any external dependencies?
p4ulor commented
koral-- commented
ok, good to hear.
I'm closing this issue since it is not a bug in the library.