Skip to content

Commit

Permalink
[RazortoothRTC#23] Removing top score panel when retaking
Browse files Browse the repository at this point in the history
  • Loading branch information
chrqls committed Apr 3, 2014
1 parent de99568 commit e79e4b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/smilec/smile/ui/GeneralActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@ protected void onResume() {
btSolve.setEnabled(true);
btResults.setText(R.string.show_results);
btResults.setEnabled(false);

TextView tvTopScoreTitle = (TextView) GeneralActivity.this.findViewById(R.id.tv_top_scorers);
tvTopScoreTitle.setVisibility(View.INVISIBLE);

RelativeLayout topScorePanel = (RelativeLayout) GeneralActivity.this.findViewById(R.id.rl_top_scorers);
topScorePanel.setVisibility(View.INVISIBLE);
}

btSolve.setOnClickListener(new SolveButtonListener());
Expand Down

0 comments on commit e79e4b0

Please sign in to comment.