ribesg
04/03/2019, 8:18 AMhorizontalChain
in a constraintLayout
for the first time using the dsl, and it’s not easy nor easy to readlouiscad
04/03/2019, 9:25 AMribesg
04/03/2019, 9:48 AMhorizontalChain
extension on ConstraintLayout
with a parameter like SomeCustomType.() -> Unit
, and then some extensions on SomeCustomType
like add(View, optional lParams)
, var commonLParams
, var chainStyle
, etcfirstViewParams
again on the “new” first/last view, but I think it gets too complicated. It would also require for the previous params to be remembered somewhere to be re-applied in case the previous first view becomes visible againlouiscad
04/03/2019, 10:24 AMinflate
extension function provided in the Views DSL split itself)ribesg
04/03/2019, 10:31 AMlouiscad
04/03/2019, 10:44 AMribesg
04/03/2019, 10:53 AMlouiscad
04/03/2019, 10:54 AMribesg
04/03/2019, 12:05 PM