setting title problem

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

setting title problem

Postby nisha » Tue Apr 22, 2008 6:38 am

Hi All,


By using settitle i am able to set the title but if title is big then i am not able to see full title... Can title be set for two lines?? ... I mean i want to display full title... If the title is long then it should be displayed in next line in emulator... Can anybody reply me fast... plzzzzzz....



Regards and Thanks,
nisha
nisha
Experienced Developer
Experienced Developer
 
Posts: 80
Joined: Fri Feb 15, 2008 7:52 am

Top

Postby plusminus » Tue Apr 29, 2008 6:58 pm

Hello nisha,

I do not think that this is possible.
Anyway you could hide the real Title and implement a custom title on your own.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby nisha » Wed Apr 30, 2008 6:17 am

Hi plusminus,


Custom title sounds different.. :? k i will try with it.. Thanks..

regards,
nisha
nisha
Experienced Developer
Experienced Developer
 
Posts: 80
Joined: Fri Feb 15, 2008 7:52 am

Postby nisha » Wed Apr 30, 2008 10:40 am

Hi,

I got it.. :) Thanks... In main.xml I set text to refer strings.xml inturn.. And in strings.xml we can set text of any length we want .. Change background to white and text to black ,it ll give full title.. :D

regards,
nisha
nisha
Experienced Developer
Experienced Developer
 
Posts: 80
Joined: Fri Feb 15, 2008 7:52 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests