aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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 liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1202
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: 4181
    
  21

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

Yes
sam liya
Ranch Hand

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

Joined: Jan 28, 2003
Posts: 4181
    
  21

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

Joined: Nov 25, 2008
Posts: 1202
Thanks.
 
wood burning stoves
 
subject: how to show two lines in button or textview