How To change label font family?

i am designing an extension in which I want to change font-family of the button by uploading .ttf file from the assets in builder.

i cannot able to do.

i try to use this :-
TextView view = (TextView) quotes.getView();
TextViewUtil.setFontTypeface(view, 3, true, true);

but its doesn’t change font family.

The type faces are hard coded to integer values, so you’ll only get what the code specifies. Rather than use TextViewUtil for this, you may want to directly call setTypeface and then requestLayout.