D
D
dvaruh2015-01-09 16:21:31
Android
dvaruh, 2015-01-09 16:21:31

Why does changing the original image in appwidget change the size of the image?

I'm updating images in an appwidget button, at runtime. However, this resizes the image and consumes the entire layout and leaves no room for text.
I've tried defining "weight" on imageviews and textviews and using 0dp heights when defining a containing height linear layout, but it still doesn't work.
Why is this happening and how can I prevent it?
d3d20a52f49340318f8c07ed585a45c3.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question