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 @@ -878,7 +878,7 @@ private void writeMainActivity(final File srcDirectory) {
878
878
writer .println ("import processing.core.PApplet;" );
879
879
writer .println ("public class MainActivity extends FragmentActivity {" );
880
880
writer .println (" PApplet fragment;" );
881
- writer .println (" int viewPagerId = 0x1000;" );
881
+ writer .println (" int viewId = 0x1000;" );
882
882
writer .println (" @Override" );
883
883
writer .println (" protected void onCreate(Bundle savedInstanceState) {" );
884
884
writer .println (" super.onCreate(savedInstanceState);" );
@@ -889,7 +889,7 @@ private void writeMainActivity(final File srcDirectory) {
889
889
writer .println ("window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,"
890
890
+ "WindowManager.LayoutParams.FLAG_FULLSCREEN);" );
891
891
writer .println (" FrameLayout frame = new FrameLayout(this);" );
892
- writer .println (" frame.setId(viewPagerId );" );
892
+ writer .println (" frame.setId(viewId );" );
893
893
writer .println (" setContentView(frame, new LayoutParams(LayoutParams.MATCH_PARENT, "
894
894
+ "LayoutParams.MATCH_PARENT));" );
895
895
writer .println (" if (savedInstanceState == null) {" );
You can’t perform that action at this time.
0 commit comments