Пример #1
0
 private static void resetGame() {
   mShareButton.setText(R.string.restart);
   mShareButton.setOnClickListener(restartListener);
   mResultPanel.setVisibility(View.INVISIBLE);
   scores = 0;
   time = WHOLE_TIME;
   mGoOnBtn.setText(R.string.goton);
   mScoresTv.setText(R.string.scores_0);
   mTimeTv.setText(time + "");
   mGoOnBtn.setOnClickListener(goonListener);
   mColorLayout.reset();
 }