Android Question Change MSMaterialDrawer's Items Gravity

Discussion in 'Android Questions' started by ArminKH, Jul 17, 2015.

  1. ArminKH

    ArminKH Well-Known Member

    @thedesolatesoul
    hello every body
    here is the MSMaterialDrawer Lib which is for creating Drawer
    http://www.b4x.com/android/forum/threads/msmaterialdrawer.53883/
    but this drawer is not customizable...for example we can't customize the items font or gravity directly with code
    i want to change the font of each item and also the gravity of items,as default items are left to right and has "sans serif" font,but i want my items gravity be right to left(icon of items be on right side)
    i can do this for title of items and also i tried this for icons but still i'm not succed
    i think this can be done by editing XML files
    i can do this by using AHNavigationDrawer Lib and create my custom menu like this one
    0.jpg
    and u can see my problem with MSMaterialDrawer
    Screenshot_2015-07-17-23-27-50.png
    but for some reason i want to change my code to using MSMaterialDrawer
    if any one is familar with xml and can help me please please please help me,this is necessary 4 me
    thanx
     
    Last edited: Jul 17, 2015
  2. ArminKH

    ArminKH Well-Known Member

    Any idea? Please ? @Erel ! :(
     
  3. ArminKH

    ArminKH Well-Known Member

    @thedesolatesoul please just tell me this can be solved by editing xml files or not ?
     
  4. thedesolatesoul

    thedesolatesoul Expert Licensed User

    It should be.
     
    ArminKH likes this.
  5. mshafiee110

    mshafiee110 Member Licensed User

Loading...