Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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>

About

A gradle plugin to make Android layout xml extendable!

Resources

Releases

No releases published

Packages

No packages published