ws1-framework/com.airwatch.ui.widget/AWTextView
AWTextView¶
open class AWTextView : ICLipBoard
Custom TextView to be used to set the font either dynamically (from the java files using setTypeface) or can be set in the xml file. In the xml, font can set using airwatch:awsdkFontStyle="value" where airwatch is the namespace and fontStyle is the attribute to be set. The allowed value set for fontStyle is as follows:"bold"-Roboto-Bold"medium"-Roboto-Medium"light"-Roboto-Light"regular"-Roboto-Regular Note: Please include the .ttf files for the above mentioned fonts in the assets folder of the project.
Functions¶
| Name | Summary |
|---|---|
| setTypeface | open fun setTypeface(ctx: Context, fontId: Int): Boolean Sets the font style of the TextView based on the passed fontId. |