Most Android DSL libraries didn’t last very long. The UI and configuration of the normal View system generally proved to be too complex to make a clean DSL out of. There’s a lot of implicit binding with XML that was difficult to do correctly in a DSL (LayoutParams, Themes, etc). You’re probably better off waiting until #compose is stable
07/09/2020, 4:18 PM
I agree with @Casey Brooks, I just made my own non-general-purpose DSL for the ui I need, waiting for compose
07/12/2020, 5:43 AM
Jetpack compose, but it is still in preview. It is the safest bet as it is officially supported by google.