title: Using custom font in viewpagerindicator
body: <p>In my project I am using the font android: fontFamily = "sans-serif-light", and working properly.</p>
  
  <p>I am also using the library viewpagerindicator. I want to use the font android: fontFamily = "sans-serif-light" also in the viewpagerindicator, but can not find how to do it</p>
  
  <p>I've tried using <code>android:fontFamily = "sans-serif-light"</code> in <code>&lt;com.viewpagerindicator.TitlePageIndicator ...</code> and in style, but without success.</p>
  
  <p>I have also tried:</p>
  
  <pre><code>PageIndicator mIndicator = (TitlePageIndicator) findViewById (R.id.indicator);
  Typeface myTypeface = Typeface.createFromAsset (getAssets (), "fonts / Roboto-Light.ttf");
  mIndicator.setTypeface (myTypeface);
  </code></pre>
  
  <p>but this does not work ..</p>
  
  <p>I appreciate any help.</p>
  
  <p>Thanks and regards</p>