Created
September 15, 2022 18:54
-
-
Save ercnksgl/910906f0a1c47182564ae8e2f39e7c18 to your computer and use it in GitHub Desktop.
Custom component themes.xml
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
<resources xmlns:tools="http://schemas.android.com/tools"> | |
. | |
. | |
. | |
. | |
<style name="EditTextStyle" parent="Widget.AppCompat.EditText"> | |
<item name="android:background">@drawable/bg_edittext</item> | |
<item name="android:textColor">@color/color_red_300</item> | |
<item name="android:paddingTop">12dp</item> | |
<item name="android:paddingBottom">12dp</item> | |
<item name="android:paddingStart">12dp</item> | |
<item name="android:paddingEnd">12dp</item> | |
<item name="android:textSize">16sp</item> | |
<item name="android:textStyle">bold</item> | |
</style> | |
<style name="StartIconStyle"> | |
<item name="android:padding">@dimen/spacing_4</item> | |
</style> | |
<style name="CustomEditTextTheme"> | |
<item name="customEditTextStartIconStyle">@style/StartIconStyle</item> | |
<item name="customEditTextStyle">@style/EditTextStyle</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment