This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text_input_layout.typeface = Typeface.createFromAsset(assets, "android_insomnia_regular.ttf") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="ErrorTextAppearance" parent="TextAppearance.AppCompat"> | |
<item name="android:textColor">@android:color/holo_orange_dark</item> | |
<item name="android:textSize">16sp</item> | |
<item name="android:textStyle">bold|italic</item> | |
</style> | |
<style name="HelperTextAppearance" parent="TextAppearance.AppCompat"> | |
<item name="android:textColor">@android:color/holo_green_dark</item> | |
<item name="android:textSize">16sp</item> | |
<item name="android:textStyle">bold|italic</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<color name="textColorHighlight">#4DD81B60</color> | |
<color name="purple">#673AB7</color> | |
<color name="purpleAlpha15">#26673AB7</color> | |
<color name="mtrl_textinput_default_box_stroke_color" tools:override="true">#673AB7</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="ErrorTextAppearance" parent="TextAppearance.AppCompat"> | |
<item name="android:textColor">@android:color/holo_orange_dark</item> | |
<item name="android:textSize">16sp</item> | |
<item name="android:textStyle">bold|italic</item> | |
</style> | |
<style name="HelperTextAppearance" parent="TextAppearance.AppCompat"> | |
<item name="android:textColor">@android:color/holo_green_dark</item> | |
<item name="android:textSize">16sp</item> | |
<item name="android:textStyle">bold|italic</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<com.google.android.material.textfield.TextInputLayout | |
android:id="@+id/default_text_input_layout" | |
android:theme="@style/EditTextThemeOverlay" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_margin="10dp" | |
android:hint="Default" | |
android:textColorHint="@color/purple" | |
app:helperText="Default helper" | |
app:helperTextTextAppearance="@style/HelperTextAppearance" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="EditTextThemeOverlay" parent="ThemeOverlay.AppCompat"> | |
<item name="colorAccent">@android:color/holo_blue_light</item> | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="EditTextThemeOverlay" parent="ThemeOverlay.AppCompat"> | |
<item name="colorAccent">@android:color/holo_blue_light</item> | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<color name="mtrl_textinput_default_box_stroke_color" tools:override="true">#673AB7</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="HelperTextAppearance" parent="TextAppearance.AppCompat"> | |
<item name="android:textColor">@android:color/holo_green_dark</item> | |
<item name="android:textSize">16sp</item> | |
<item name="android:textStyle">bold|italic</item> | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<com.google.android.material.textfield.TextInputLayout | |
android:id="@+id/default_text_input_layout" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_margin="10dp" | |
android:hint="Default" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="parent"> |