In the layout XML, you can set the android:textAllCaps
attribute on your TextView
:
<TextView android:textAllCaps="true"></TextView>
Related Contents:
- What’s “tools:context” in Android layout files?
- How to put a border around an Android TextView?
- RecyclerView inside ScrollView is not working
- How to change the color of a CheckBox?
- Placing/Overlapping(z-index) a view above another view in android
- GridLayout (not GridView) how to stretch all children evenly
- How to inflate one view with a layout
- How to lay out Views in RelativeLayout programmatically?
- Set android shape color programmatically
- Getting activity from context in android
- Setting background colour of Android layout element
- Android layout replacing a view with another view on run time
- Nested Recycler view height doesn’t wrap its content
- RecyclerView expand/collapse items
- How to define dimens.xml for every different screen size in android?
- Is it possible to put a ConstraintLayout inside a ScrollView?
- Android and setting alpha for (image) view alpha
- How to Apply Corner Radius to LinearLayout
- Is it a bad practice to use negative margins in Android?
- What is the difference between background, backgroundTint, backgroundTintMode attributes in android layout xml?
- CardView layout_width=”match_parent” does not match parent RecyclerView width
- ViewPager in a NestedScrollView
- The following classes could not be found: android.support.v7.internal.app.WindowDecorActionBar
- remove shadow below AppBarLayout widget android
- Scrollview can host only one direct child [duplicate]
- Android ImageView: Fit Width
- How to include constraint layout to another constraint layout and set constraint between each
- Show entire bottom sheet with EditText above Keyboard
- How to center multiple Views together using ConstraintLayout?
- What is the default layout background
- FrameLayout margin not working
- Is it possible to specify multiple gravity values in spinner item custom_style.xml?
- Fix bottom bar in CoordinatorLayout
- How can I align Android Toolbar menu/icons to the left like in Google Maps app?
- Android v7 Toolbar button alignment
- State list drawable and disabled state
- Aligning drawableLeft with text of button
- animateLayoutChanges=”true” in BottomSheetView showing unexpected behaviour
- How to get screen width and height
- How to specify list item count in preview of recyclerview in Android Studio?
- Why isn’t there a getContentView() method for Activity?
- Jetpack Compose – Centering Text
- SplashScreen with Vector stretched full screen
- how to align text vertically center in android
- How to place button inside of EditText
- Programmatically adding TableRow to TableLayout not working
- Android Button Drawable Tint
- why marginBottom not working?
- Scrollbar not showing in RecyclerView
- WRAP_CONTENT not working after dynamically adding views