很多时候,TitleBar并没有太大的用处,相反会占用屏幕有限的显示空间,那么如何隐藏它呢?
方法很简单,只需要在这个View的ViewConstructL()中添加如下代码:
TQikViewMode mymode=this->ViewMode();//get the mode of the view
mymode.SetAppTitleBar(EFalse);//set as hidden mode
this->SetViewModeL(mymode);//set the mode to the view
本文介绍了一种简单的方法来隐藏应用程序中的TitleBar,通过修改View的属性实现,节省屏幕空间。
792

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



