简体   繁体   中英

how to use include tag for setting herder in all activity android?

i want toe create common template for my android application.i don't know how? some body told use include tag.I need some example for this.

you can create first anim folder and create inside header xml file and that header xml file used in all xml file like below.

    <include layout="@anim/footer" android:layout_height="wrap_content"
    android:layout_alignParentTop="true" android:layout_width="fill_parent" />

Thanks, Nik...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM