Detailed explanation of adding head layout and foot layout examples to Android listview
Android listview add header layout and foot layout @ h_ 301_ 4@
I made a small demo when I was studying Himalayas and posted it for your reference@ H_ 301_ 4@
If our current page has multiple interfaces and multiple layouts, our general choice is no more than 1. Multiple layouts; 2. A layer of Scrollview (good low) is set outside various complex sliding layouts; 3. Head layout and foot layout. Sometimes we can't achieve it well with multi layout, so head layout and foot layout are our best choice; After learning listview, the principle is very simple. There is nothing to understand. Just paste the code: @ h_ 301_ 4@
Effect drawing: @ h_ 301_ 4@
@H_ 301_ 4@
@H_ 301_ 4@@H_ 301_ 4@
Body layout: @ h_ 301_ 4@
fragment_ classify. xml@H_ 301_ 4@
classify_ item. xml@H_ 301_ 4@
Head layout: @ h_ 301_ 4@
fragment_ classify_ header. xml@H_ 301_ 4@
Foot layout: @ h_ 301_ 4@
fragment_ classify_ bottom.xml @H_ 301_ 4@
Main page: @ h_ 301_ 4@
Adapter: @ h_ 301_ 4@
Model class: @ h_ 301_ 4@
Thank you for reading, hope to help you, thank you for your support to this site@ H_ 301_ 4@