Skip to content

Commit dc174b6

Browse files
committed
no title
1 parent ed3a15c commit dc174b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/processing/mode/android/AndroidBuild.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,7 @@ private void writeFragmentActivity(final File srcDirectory) {
989989
writer.println("package " + manifest.getPackageName() +";");
990990
writer.println("import android.app.Activity;");
991991
writer.println("import android.os.Bundle;");
992+
writer.println("import android.view.Window;");
992993
writer.println("import android.view.View;");
993994
writer.println("import android.view.ViewGroup;");
994995
writer.println("import android.widget.FrameLayout;");
@@ -1002,6 +1003,7 @@ private void writeFragmentActivity(final File srcDirectory) {
10021003
writer.println(" @Override");
10031004
writer.println(" protected void onCreate(Bundle savedInstanceState) {");
10041005
writer.println(" super.onCreate(savedInstanceState);");
1006+
writer.println(" requestWindowFeature(Window.FEATURE_NO_TITLE);");
10051007
writer.println(" FrameLayout frame = new FrameLayout(this);");
10061008
writer.println(" frame.setId(viewId);");
10071009
writer.println(" setContentView(frame, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, "

0 commit comments

Comments
 (0)