All Projects → linroid → AndroidLayoutExtender

linroid / AndroidLayoutExtender

Licence: other
A gradle plugin to make Android layout xml extendable!

Programming Languages

groovy
2714 projects
java
68154 projects - #9 most used programming language

AndroidLayoutExtender

Developing...

A gradle plugin to make Android layout xml extendable!

root layout

<?xml version="1.0" encoding="utf-8"?>
<layout>
    <LinearLayout ...>
        <section name="sec1">
            <TextView .../>
        </section>
        <TextView .../>
        <section name="sec2"/>
    </LinearLayout>
</layout>

child 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>

generate...

<LinearLayout ...>
    <LinearLayout>
        <TextView .../>
        <Button .../>
    </LinearLayout>
    <TextView .../>
    <ReleativeLayout>
        <ScrollView .../>
    </ReleativeLayout>
</LinearLayout>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].