This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
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 liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
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 liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to show two lines in button or textview