From e79e4b06ce6ac2cb992170096a29dfa0dd4bf758 Mon Sep 17 00:00:00 2001 From: chrqls Date: Thu, 3 Apr 2014 03:29:11 +0200 Subject: [PATCH] [#23] Removing top score panel when retaking --- src/main/java/org/smilec/smile/ui/GeneralActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/smilec/smile/ui/GeneralActivity.java b/src/main/java/org/smilec/smile/ui/GeneralActivity.java index 184bc9e..d1dbd0c 100644 --- a/src/main/java/org/smilec/smile/ui/GeneralActivity.java +++ b/src/main/java/org/smilec/smile/ui/GeneralActivity.java @@ -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());