Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写游戏。我RequestWindowFeature(WindowFeatures.NoTitle);在启动屏幕上使用,但如何在设置屏幕上禁用它?
RequestWindowFeature(WindowFeatures.NoTitle);
在您的设置活动 onCreate 中,运行以下命令:
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); getWindow().setTitle("Settings");
Mono 中的相应代码是
RequestWindowFeature(WindowFeatures.CustomTitle); Window.SetTitle("Settings");