4

I have an Application in which I want to set header and footer for specific layout.

Can anyone tell me how can I do that?

djot
  • 2,952
  • 4
  • 19
  • 28
pratik
  • 983
  • 3
  • 13
  • 25

1 Answers1

3

You can use RelativeLayout and attributes as below:

For header: android:layout_alignParentTop="true"

For footer: android:layout_alignParentBottom="true"

PhatHV
  • 8,010
  • 6
  • 31
  • 40