Commit451 / ForegroundViews

Views that supports a foreground, like FrameLayout does
Apache License 2.0
213 stars 29 forks source link

Fixed a ViewGroup constructors for an old Android version #4

Closed kuFEAR closed 8 years ago

kuFEAR commented 8 years ago

Hi, i have fixed pre-lollipop constructors for LinearLayout and RelativeLayout to have ability to use it on Android below 5.0

Jawnnypoo commented 8 years ago

Hey there @kuFEAR I had not seen this as an issue before. What exactly happens on pre 5.0 devices?

kuFEAR commented 8 years ago

It's crashed on inflating xml layout with ForegroundLinearLayout and ForegroundRelativeLayout, i checked another views(ForegoundButton, ForegoundImageView) and they just don't have 4th lollipop constructor which broke inflating on pre-lollipop.

Jawnnypoo commented 8 years ago

Wow, you are 100% correct. Not sure how this wasn't reported before! Thanks a bunch