Skip to content

Repository files navigation

MandatoryTextInputLayout

  • gradle
dependencies {
...
//maven { url 'https://jitpack.io' }
implementation 'com.github.gzeinnumer:MyLibStyle:0.1.3'
implementation 'com.google.android.material:material:1.2.1'
}
  • View
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/ed_password_p"style="@style/MyTextInputLayoutOutlinedBox.Man">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/ed_password"style="@style/MyTextInputEditText"android:hint="Password" />
</com.google.android.material.textfield.TextInputLayout>
  • Style
<stylename="MyTextInputLayoutOutlinedBox.Man">
<itemname="helperText">*Required</item>
<itemname="android:textColorHint">@color/my_mtrl_indicator_text_color</item>
<itemname="boxStrokeColor">@color/my_mtrl_outlined_stroke_color</item>
<itemname="helperTextTextColor">@color/my_mtrl_indicator_helper_text_color</item>
</style>

Copyright 2021 M. Fadli Zein

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages