What is the progress of this ?
Since PercentLayout is deprecated now, will ConstraintLayout be supported soon?
The support-percent module has been deprecated. Clients of this module should migrate to the new ConstraintLayout widget
https://developer.android.com/topic/libraries/support-library/revisions.html
I want to know the progress too.
I'm considering using anko for my next project, but this issue worries me.
At the moment, is it possible to embed a ConstraintLayout inflated through xml in a view built with anko ?
Are there trade off ?
yes, it should be possible to inflate. But from my little experience it is better to stick with standard layouts for now. Anko feels like is not complete in term of designer and different configurations. But you can mix both approaches at some extent.
Take a look at kotlin compiler android extensions.
Any update on this?
I think project is almost dead. Maybe maintainer is busy on other tasks
Added a PR, using this in a project. So check it out if you can.
@kuhnroyal Great job, so, how to get it added to my project? 'org.jetbrains.anko:anko-constraint-layout:0.10.2' does not work, thanks very much!
@spkingr At the moment you need to checkout my fork and build it yourself. I am not sure when and if this will get merged. But I am sure people testing it will help.
@kuhnroyal I will try, thank you!
Hi guys. I really liked using the constraint layout but also using Anko for building stuff. The two are not compatible with each other, so I decided to make a library ^_^
https://github.com/AckeeCZ/anko-constraint-layout
It is a bigger project than I originally intended. It adds custom DSL specifically made for use with constraint layout and other stuff like automatic generation of ids for views. Readme should be explanatory enough.
We use it in our company for new projects and so far everyone is happy with it. Hopefully, it will be useful for others as well.
@4u7 Kudos for making this happen!
Yes, I just replaced my code from the PR with the 0.10.4. Works like a charm!
Most helpful comment
What is the progress of this ?