Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error: cannot find symbol variable fullscreen_content
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_game);
- mVisible = true;
- mControlsView = findViewById(R.id.fullscreen_content_controls);
- mContentView = findViewById(R.id.fullscreen_content);
- // Set up the user interaction to manually show or hide the system UI.
- mContentView.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View view) {
- toggle();
- }
- });
- // Upon interacting with UI controls, delay any scheduled hide()
- // operations to prevent the jarring behavior of controls going away
- // while interacting with the UI.
- findViewById(R.id.dummy_button).setOnTouchListener(mDelayHideTouchListener);
- }
Add Comment
Please, Sign In to add comment