Use fullscreen.
This commit is contained in:
parent
cb5b087af1
commit
67e8f7585b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user