Skip to content

ws1-framework/com.airwatch.ui.widget/AWEditText

AWEditText

open class AWEditText : ICLipBoard

Custom EditText to be used to set the font either dynamically (from the java files using init) 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 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.