Developing...
A gradle plugin to make Android layout xml extendable!
<?xml version="1.0" encoding="utf-8"?>
<layout>
<LinearLayout ...>
<section name="sec1">
<TextView .../>
</section>
<TextView .../>
<section name="sec2"/>
</LinearLayout>
</layout>
<?xml version="1.0" encoding="utf-8"?>
<layout extends="@layout/parent"/>
<section name="sec1">
<LinearLayout>
<TextView .../>
<Button .../>
</LinearLayout>
</section>
<section name="sec2">
<ReleativeLayout>
<ScrollView .../>
</ReleativeLayout>
</section>
</layout>
<LinearLayout ...>
<LinearLayout>
<TextView .../>
<Button .../>
</LinearLayout>
<TextView .../>
<ReleativeLayout>
<ScrollView .../>
</ReleativeLayout>
</LinearLayout>