void android.app.
Activity.setTitle(
CharSequence title)
public void setTitle(CharSequence title)
Since:
API Level 1
Change the title associated with this activity. If this is a top-level activity, the title for its window will change. If it is an embedded activity, the parent can do whatever it wants with it.
翻译:更改与此活动相关的标题。如果这是一个顶级的活动,它的窗口标题将会改变。如果它是一个嵌入式级的活动,父类可以随意设置它的标题。
读者可以到这里了解更多的关于标题设置的问题可以到这里查看:
本文详细介绍了Android应用中如何设置标题,包括对于顶级活动和嵌入式活动的区别处理,以及提供了一个链接到更多相关设置问题的总结。
3364

被折叠的 条评论
为什么被折叠?



