Materialdrawer: Hey coders !! Can you tell me that how can i use my own custom header layout ?

Created on 8 Sep 2019  路  4Comments  路  Source: mikepenz/MaterialDrawer

About this issue

is there any way to use my own header Layout with this, like we use in Normal navigation ?

i want to use my own header Layout with image and some textviews, but i am wondering is there any way ?

##Thanks for giving your precious time

Details

  • [ ]聽Used library version
  • [ ]聽Used support library version
  • [ ]聽Used gradle build tools version
  • [ ]聽Used tooling / Android Studio version
  • [ ]聽Other used libraries, potential conflicting libraries

Checklist

question wontfix

All 4 comments

Beside not following the issue template, the sample showcases how you can provide a xml file to display as the header.

The AccountHeader is available in the two variants compact and normal variant (matching the material design guidelines) and does not support other variants.

It means i can't add my own custom header layout with it, like we used to add in normal
Navigation Bars ?

And yes sample contains xml file as 'header.xml' but i want my fully custom Layout with more views and Layouts instead 'one image' ?

Well as you say yourself. you can provide an xml. and that xml can be any layout you want to provide. so I am not sure what you mean by your question

Thanks for your help 馃榾 btw, i found what i am looking for..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ahmed-Emad picture Ahmed-Emad  路  4Comments

meness picture meness  路  3Comments

AlexMercier picture AlexMercier  路  3Comments

pranjal-joshi picture pranjal-joshi  路  3Comments

armoun picture armoun  路  3Comments