[英]How to change the label(Android)?
I had writen a simple Android project. 我写了一个简单的Android项目。 The main Activity has a gallery. 主要活动有一个画廊。 Different pictures have differndt Activity. 不同的图片有不同的活动。 If I click one image, I would go to another Activity. 如果单击一个图像,我将转到另一个活动。 The question is that how can I change the label, if the Activity change through the java code? 问题是,如果活动通过Java代码更改,该如何更改标签?
如果您只想更改标题栏,请参阅此问题...
setTitle("My Title Is Better Than Your Title");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.