开发者

setTitle method not working in Child Activity

开发者 https://www.devze.com 2023-03-27 16:55 出处:网络
I\'m new to Android development. Normally in any activity class, I just simply use setTitle(\"My title\") at any place will do then the window title will change dynamically.

I'm new to Android development. Normally in any activity class, I just simply use setTitle("My title") at any place will do then the window title will change dynamically.

However, when I try using this method in child activity, it won't have any effect. When I try 开发者_运维知识库use Toast, Menu option it also no effect at all.

How can this be done?

0

精彩评论

暂无评论...
验证码 换一张
取 消