skip to Main Content

Android Studio – How to apply letter spacing in custom button?

I have one button and letterspacing is not working with it. Please check my following snippet code <style name="ButtonText_v2" parent="TextAppearance.AppCompat"> <item name="fontFamily">@font/silka_regular</item> <item name="android:letterSpacing">0.1</item> <item name="android:textSize">@dimen/dimen_14dp</item> </style> <style name="PrimaryButton_v2" parent="Widget.AppCompat.Button"> <item name="android:background">@drawable/button_selector_primary</item> <item name="android:textColor">@color/white</item> <item name="textAllCaps">true</item> <item name="textAppearance">@style/ButtonText_v2</item> </style> layout.xml…

VIEW QUESTION
Back To Top
Search