use of com.mta.tehreer.widget.TTextView in project Tehreer-Android by mta452.
the class TextViewWidgetActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_text_view_widget);
ActionBar actionBar = getSupportActionBar();
if (actionBar != null) {
actionBar.setDisplayHomeAsUpEnabled(true);
}
final TTextView textView = findViewById(R.id.text_view);
textView.setTypeface(TypefaceManager.getTypeface(R.id.typeface_noorehuda));
textView.setGravity(Gravity.CENTER_HORIZONTAL);
textView.setSpanned(parseSurah());
textView.setLineHeightMultiplier(0.80f);
}