SHARE
TWEET

Gutefrage Pastebin überarbeitet

a guest Aug 30th, 2017 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ...........{
  2. @Override
  3.       protected void onCreate(Bundle savedInstanceState) {
  4.               super.onCreate(savedInstanceState);
  5.               setContentView(activity_spiel);
  6.        
  7.               conlayout = (ConstraintLayout) findViewById(R.id.constraint);  //mein Layout
  8.  
  9.               btnstartespiel = (Button) findViewById(R.id.btnstartespiel);
  10.         btnstartespiel.setVisibility(View.VISIBLE);
  11.         btnstartespiel.setOnClickListener(new View.OnClickListener() {
  12.             @Override
  13.             public void onClick(View v) {
  14.                 btnstartespiel.setVisibility(View.INVISIBLE);
  15.                 einfuehrung1();
  16.  
  17.                 conlayout.setOnClickListener(new View.OnClickListener() {
  18.                     @Override
  19.                     public void onClick(View v) {
  20.                         tts.stop();
  21.                         dorfschlaeftein();
  22.                     }
  23.                 });
  24.  
  25.                 dorfschlaeftein();
  26.             }
  27.         });
  28.       }
  29.     ConstraintLayout conlayout;
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top