-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,912
  • 4
  • 32
  • 52

3 Answers3

0

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

jeet
  • 28,501
  • 6
  • 50
  • 52
0

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

Karthik
  • 4,833
  • 19
  • 51
  • 85
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
  • 992
  • 7
  • 24