Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

Canvas size does not fill Android Emulator screen

$
0
0

I'm using Android Studio and am aware that the size() method doesn't work, so I tried removing it altogether, but my canvas is super small within the emulator. Anyone know how to force it to be fullscreen?

public class Sketch extends PApplet {

    public void setup() {
        background(52,74,85);
        noLoop();
    }

    public void draw() {
        ellipse(width/2, height/2, 100, 100);
    }
}

IMAGE:


Viewing all articles
Browse latest Browse all 941

Trending Articles