title: How to set the font awesome icons in menu items in android?
body: <p><a href="https://i.stack.imgur.com/sJf3B.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sJf3B.jpg" alt="enter image description here"></a>I am facing the issue in font awesome ,i tried many ways to set the font awesome icon in menu items but the problem is not solved.</p>
  
  <pre><code>   @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.drawer_menu, menu);
      return true;
  }
  
  
  @Override
  public boolean onPrepareOptionsMenu(Menu menu) {
  
      TextDrawable faIcon = new TextDrawable(this);
      faIcon.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 30);
      faIcon.setTextAlign(Layout.Alignment.ALIGN_NORMAL);
      faIcon.setTypeface(FontAwesomeManager.getTypeface(this, FontAwesomeManager.FONTAWESOME));
      faIcon.setText(getResources().getText(R.string.home_font));
      MenuItem menuItem = menu.findItem(R.id.home);
      menuItem.setIcon(faIcon);
      menuItem.setTitle("Home");
      return  true;
  }
  </code></pre>
  
  <p>The above code is my font awesome code for setting the font awesome as menu items icon in navigation drawer menu .Please help me how to solve this. </p>
  
  <p>How to add the font awesome font in menu items like shown in above image.</p>