mirror of
https://github.com/rfc2822/GfxTablet
synced 2025-10-03 01:29:17 +02:00
Merge 48384ddbf5
into ed7293291a
This commit is contained in:
commit
06ac7f0c70
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,8 @@ import android.content.Intent;
|
|||
import android.content.SharedPreferences;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.Window;
|
||||
import android.view.WindowManager;
|
||||
import android.widget.LinearLayout;
|
||||
|
||||
public class CanvasActivity extends Activity {
|
||||
|
@ -24,6 +26,10 @@ public class CanvasActivity extends Activity {
|
|||
PreferenceManager.setDefaultValues(this, R.xml.network_preferences, false);
|
||||
PreferenceManager.setDefaultValues(this, R.xml.drawing_preferences, false);
|
||||
|
||||
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||
|
||||
setContentView(R.layout.activity_canvas);
|
||||
LinearLayout layout = (LinearLayout)findViewById(R.id.canvas_layout);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue