assets/src/org/ruboto/SplashActivity.java in ruboto-1.0.3 vs assets/src/org/ruboto/SplashActivity.java in ruboto-1.1.0

- old
+ new

@@ -36,10 +36,11 @@ try { splash = Class.forName(getPackageName() + ".R$layout").getField("splash").getInt(null); } catch (Exception e) { splash = -1; } + requestWindowFeature(android.view.Window.FEATURE_NO_TITLE); if (!JRubyAdapter.isInitialized()) { initJRuby(true); } super.onCreate(bundle); } @@ -162,11 +163,10 @@ private void showProgress() { if (loadingDialog == null) { if (splash > 0) { Log.i("Showing splash"); - requestWindowFeature(android.view.Window.FEATURE_NO_TITLE); setContentView(splash); } else { Log.i("Showing progress"); loadingDialog = ProgressDialog.show(this, null, "Starting...", true, true); loadingDialog.setCanceledOnTouchOutside(false); @@ -182,10 +182,9 @@ private void showDownloadProgress(String message) { if (loadingDialog == null) { if (splash > 0) { Log.i("Showing splash"); - requestWindowFeature(android.view.Window.FEATURE_NO_TITLE); setContentView(splash); } else { Log.i("Showing progress"); loadingDialog = new ProgressDialog(this); loadingDialog.setTitle(null);