Monday 15 March 2021

Why does LayoutInflater ignore the layout_width and layout_height layout parameters I've specified?

I've had severe trouble getting LayoutInflater to work as expected, and so did other people: How to use layoutinflator to add views at runtime?.

Why does LayoutInflater ignore the layout parameters I've specified? E.g. why are the layout_width and layout_height values from my resources XML not honored?



from Why does LayoutInflater ignore the layout_width and layout_height layout parameters I've specified?

No comments:

Post a Comment