views:

644

answers:

1

dear friends,

i am using

Window w= getWindow();
w.setTitle("adf as afsa");

to change title of my current activity but it not seem to work..

can any one guide me how to change this?

+10  A: 

Try setTitle by itself, like this:

setTitle("Hello StackOverflow");
Jeffrey