안드로이드의 액션바 메뉴버튼의 기본값이 대문자인지, "Save"나 "Done"로 텍스트를 지정해도 "SAVE", "DONE" 이렇게 모두 대문자로 나온다. 이건 오류가 아니기 때문에 테마 변경으로 해결할 수 있다.
<style name="Theme.MyTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="actionButtonStyle">@style/AppTheme.Widget.ActionButton</item>
</style>
<style name="AppTheme.Widget.ActionButton" parent="@style/Widget.AppCompat.ActionButton">
<item name="textAllCaps">false</item>
</style>
'android' 카테고리의 다른 글
[android] Disable ActionBar show/hide animation (0) | 2022.03.16 |
---|---|
[android] ActionBar menu item show or hide (0) | 2022.03.16 |
android gradle dependencies clean (0) | 2022.03.04 |
android CornerRoundedImageView (ImageView 라운드 처리하기) (0) | 2022.02.28 |
android 비트맵 라운드 처리 (Rounded Bitmap) (0) | 2022.02.28 |