Android Material Design button style is making button text to 'CAPITAL' letters. How can I get back the text with whatever cases (non-capital, capital) that I supply via string.xml?
<Button
android:id="@+id/product_add_button"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:onClick="onAddItemButtonClick"
android:paddingLeft="@dimen/row_padding"
android:paddingRight="@dimen/row_padding"
android:text="@string/add_item"
android:textSize="18sp"
android:textColor="@color/blueberry" />
string.xml
<string name="add_item">Add Item</string>
add:
android:textAllCaps="false"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With