@Override protected void onDestroy() { try { super.onDestroy(); } catch (Exception e) { } }
public void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow() .setFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); super.onCreate(savedInstanceState); }
@SuppressLint("NewApi") @Override public void onCreate(Bundle savedInstanceState) { // 设置启动信息 if (!init) { ExUtility.setDebug(true); ExUtility.setCacheDir(null); BitmapAjaxCallback.setPixelLimit(600 * 600); BitmapAjaxCallback.setCacheLimit(200); BitmapAjaxCallback.setIconCacheLimit(100); BitmapAjaxCallback.setMaxPixelLimit(10000000); // init = true; // ErrorReporter.installReporter(getApplicationContext()); } requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow() .setFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // Configure the drawer mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); launchFragment(-1); }
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); }
@Override protected void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); }