File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/processing/mode/android Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -997,8 +997,8 @@ private void writeFragmentActivity(final File srcDirectory) {
997
997
writer .println (" super.onCreate(savedInstanceState);" );
998
998
writer .println (" FrameLayout frame = new FrameLayout(this);" );
999
999
writer .println (" frame.setId(viewId);" );
1000
- writer .println (" setContentView(frame, new LayoutParams(LayoutParams.MATCH_PARENT, "
1001
- + "LayoutParams.MATCH_PARENT));" );
1000
+ writer .println (" setContentView(frame, new ViewGroup. LayoutParams(ViewGroup. LayoutParams.MATCH_PARENT, "
1001
+ + "ViewGroup. LayoutParams.MATCH_PARENT));" );
1002
1002
writer .println (" PApplet sketch = new " + sketchClassName + "();" );
1003
1003
writer .println (" if (savedInstanceState == null) {" );
1004
1004
writer .println (" fragment = new PFragment();" );
You can’t perform that action at this time.
0 commit comments