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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1031
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: 3947
    
  17

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: 1031
can you please tell me how to do that ?
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3947
    
  17

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: 1031
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to show two lines in button or textview
 
Similar Threads
Layout issues
Guidance in reference to splitting up this class to manageable parts
how to align data in textview
how to add main two button to my screen
how to Hide textview