File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/processing/mode/android Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -989,6 +989,7 @@ private void writeFragmentActivity(final File srcDirectory) {
989
989
writer .println ("package " + manifest .getPackageName () +";" );
990
990
writer .println ("import android.app.Activity;" );
991
991
writer .println ("import android.os.Bundle;" );
992
+ writer .println ("import android.view.Window;" );
992
993
writer .println ("import android.view.View;" );
993
994
writer .println ("import android.view.ViewGroup;" );
994
995
writer .println ("import android.widget.FrameLayout;" );
@@ -1002,6 +1003,7 @@ private void writeFragmentActivity(final File srcDirectory) {
1002
1003
writer .println (" @Override" );
1003
1004
writer .println (" protected void onCreate(Bundle savedInstanceState) {" );
1004
1005
writer .println (" super.onCreate(savedInstanceState);" );
1006
+ writer .println (" requestWindowFeature(Window.FEATURE_NO_TITLE);" );
1005
1007
writer .println (" FrameLayout frame = new FrameLayout(this);" );
1006
1008
writer .println (" frame.setId(viewId);" );
1007
1009
writer .println (" setContentView(frame, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, "
You can’t perform that action at this time.
0 commit comments