crete theme for textinputlayout with outlinebox code example
Example 1: text input layout outline box
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
Example 2: how to change outline color of inputLayout android
text_input_layout.typeface = Typeface.createFromAsset(assets, “android_insomnia_regular.ttf”)