wood burning stoves 2.0*
The moose likes Android and the fly likes how to show two lines in button or textview Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to show two lines in button or textview" Watch "how to show two lines in button or textview" New topic
Author

how to show two lines in button or textview

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1072
I need to show two lines in a button or textview. Is this possible ?
Actually i need to show name and the date as below.

Sunday
25-Set-2013
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4167
    
  21

sam liyanage wrote:I need to show two lines in a button or textview. Is this possible ?

Yes
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1072
can you please tell me how to do that ?
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4167
    
  21

A Button is a TextView. How would you put text on two lines in a TextView?
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1072
Thanks.
 
 
subject: how to show two lines in button or textview
 
Similar Threads
Guidance in reference to splitting up this class to manageable parts
how to Hide textview
how to align data in textview
Layout issues
how to add main two button to my screen