Use fullscreen.

This commit is contained in:
kenkeiras 2017-07-08 14:52:16 -04:00
parent cb5b087af1
commit 67e8f7585b

View File

@ -1,5 +1,6 @@
package com.codigoparallevar.minicards;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MotionEvent;
@ -12,6 +13,13 @@ public class TestActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Hide action bar
ActionBar actionBar = getSupportActionBar();
if (actionBar != null) {
actionBar.hide();
}
// Use controled canvas
partCanvasView = new PartCanvasView(this);
setContentView(partCanvasView);
}