android / views-widgets-samples

Multiple samples showing the best practices in views-widgets on Android.
Apache License 2.0
5.05k stars 3.01k forks source link

ConstraintSetExampleActivity activity crashes when changing minSdk to 9/14/17 #70

Closed amilcar-andrade closed 2 years ago

amilcar-andrade commented 7 years ago

According to the documentation ConstraintLayout should be compatible with Android 9 but it is not.

The main problem is within the populateConstraint method. This method gets called when you call the load(Context context, int resourceId) method. It seems some of the properties are not available in old versions.

For example startMargin, translationZ, etc.

santhoshvai commented 6 years ago

I can confirm

santhoshvai commented 6 years ago

@nageshs Could you please look into this.