package org.navis.heard; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.Window; import android.view.WindowManager; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.activity_main); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); new Handler().postDelayed(new Runnable() { @Override public void run() { Intent intent = new Intent(MainActivity.this, IndexActivity.class); MainActivity.this.startActivity(intent); MainActivity.this.finish(); } }, 2000L); } }
设置 activity全屏代码
requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.activity_main); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
相关推荐
程序启动画面(splash画面)到程序界面(root view controller)之间的过渡动画效果是翻书的效果。即开机画面停留一小段时间后,慢慢像翻书一样翻到程序主页面。 2. 第二个效果十分特殊,是当用户点击星星的按钮...
<END><br>34 , menus.zip If you wanna make a Menu that suports permissions by user and module with "No Access", "Read Only" and "Full Control" rights, you Found it!! Sory, but the examples are in ...
-full-screen start in full screen -g WxH[xDEPTH] Set the initial graphical resolution and depth -vnc display start a VNC server on display 1 target only: -win2k-hack use it when installing Windows ...
6 , chunks.zip This will open a file and read it in "Chunks" of a selected file.<END><br>7 , logging.zip This is a bas that will log installation procedures so the file can be removed later....
17 2.3.3.2 Windows and Virtual Desktops . . . . . . . . . 17 2.4 TheFileManager . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4.1 Introduction . . . . . . . . . . . . . . . . . ...
full_screen - 功能:进入全屏模式。 ##### 46. fuse - 功能:将多个模型融合成一个整体。 ##### 47. get_area - 功能:获取表面面积。 ##### 48. get_chains - 功能:获取模型中的链信息。 ##### 49. get_...