Skip to content

Commit 1374b29

Browse files
committed
added missing package
1 parent ad01f81 commit 1374b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/processing/mode/android/AndroidBuild.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,8 @@ private void writeFragmentActivity(final File srcDirectory) {
997997
writer.println(" super.onCreate(savedInstanceState);");
998998
writer.println(" FrameLayout frame = new FrameLayout(this);");
999999
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));");
10021002
writer.println(" PApplet sketch = new " + sketchClassName + "();");
10031003
writer.println(" if (savedInstanceState == null) {");
10041004
writer.println(" fragment = new PFragment();");

0 commit comments

Comments
 (0)