I think that you are doing this: android:layout_width = "wrap_content"
If this is the case, do this: android:layout_width = "match_parent"
More Related Contents:
- How to align TextView around an ImageView?
- How to retrieve and display data from a database to TextView
- Set style for TextView programmatically
- Android: Want to set custom fonts for whole application not runtime
- How to put a border around an Android TextView?
- Android Paint: .measureText() vs .getTextBounds()
- How to add a TextView to a LinearLayout dynamically in Android?
- Is there an easy way to strike through text in an app widget?
- how to change text in Android TextView
- How to pass a view’s onClick event to its parent on Android?
- select a word on a tap in TextView/EditText
- How do I add a newline to a TextView in Android?
- How to set the font style to bold, italic and underlined in an Android TextView?
- Change the Right Margin of a View Programmatically?
- Dynamically add textViews to a linearLayout
- How to Measure TextView Height Based on Device Width and Font Size?
- Align top of image to top of TextView
- Set Text to Integer Value
- Multiline TextView in Android?
- How to bring view in front of everything?
- Android TextView Text not getting wrapped
- Justify text in an Android app using a WebView but presenting a TextView-like interface?
- Android, How to limit width of TextView (and add three dots at the end of text)?
- How to make text glow?
- Adding custom Font to Theme in Android
- How to set text color of a TextView programmatically? [duplicate]
- How to set a ripple effect on textview or imageview on Android?
- How to adjust text kerning in Android TextView?
- Changing font size into an AlertDialog
- Copy text from TextView on Android