-1

Hello everyone I wanna add the header and footer logo of my company profile in each activity it is redirected.. So please help me in designing this...

NullPointerException
  • 3,978
  • 4
  • 34
  • 52

3 Answers3

0

You can use fragments for this purpose, or can search merge/include layout concepts to achieve this.

jeet
  • 29,001
  • 6
  • 52
  • 53
0

Just use an ImageView for both the header & footer,dont forget to use alignparenttop & alignparentbottom respectively.

Karthik
  • 4,943
  • 19
  • 53
  • 86
0

rashmi yo have to create a XML file which contains you header logo and after that you have to include that XML file as header in your other XMLs mention below

<include layout="@layout/your XML File">

try this i think it might help you

Harsh Trivedi
  • 1,012
  • 8
  • 25
  • 1
    @Harsh Trivedi if you add the XML file with your answer. then the ratio to accept your answer will increase. – V.J. Dec 25 '12 at 12:01