I have created a simple custom TextView
. The layout designer however, won't let me preview those custom TextViews
, only MockView
-Blocks are being rendered.
public class MainTextView : TextView
{
public Typeface typeface;
public MainTextView (Context context) : base(context, null)
{
InitializeView(context);
}
...
}
Is how my class goes. I would like to preview my custom TextViews
, but how can I do that?