Android change font - getAssets() error
<p>I have a problem with my custom fonts. I change it like this:</p>

<pre><code>@Override
protected void onFinishInflate() {
    super.onFinishInflate();

    mTimeDisplay = (TextView) findViewById(R.id.timeDisplay);
    Typeface typeface = Typeface.createFromAsset(getAssets(),
            "Fonts/Roboto-Light.ttf");
    mTimeDisplay.setTypeface(typeface);
    mAmPm = new AmPm(this);
    mCalendar = Calendar.getInstance();

    setDateFormat();
}
</code></pre>

<p>But i have error : <code>The method getAssets() is undefined for the type DigitalClock</code></p>
