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
  • 18
  • 28
pratik
  • 981
  • 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
  • 7,860
  • 6
  • 30
  • 40