diff --git a/source-code/app/src/main/java/org/buildmlearn/toolkit/comprehensiontemplate/fragment/QuestionFragment.java b/source-code/app/src/main/java/org/buildmlearn/toolkit/comprehensiontemplate/fragment/QuestionFragment.java
index d3a02b7a..d22bd31e 100644
--- a/source-code/app/src/main/java/org/buildmlearn/toolkit/comprehensiontemplate/fragment/QuestionFragment.java
+++ b/source-code/app/src/main/java/org/buildmlearn/toolkit/comprehensiontemplate/fragment/QuestionFragment.java
@@ -208,6 +208,14 @@ public void onClick(View v) {
}
});
+ rootView.findViewById(R.id.clear).setOnClickListener(new View.OnClickListener() {
+
+ @Override
+ public void onClick(View v) {
+ rg.clearCheck();
+ }
+ });
+
if (Integer.parseInt(questionId) == 1) {
rootView.findViewById(R.id.previous).setVisibility(View.INVISIBLE);
diff --git a/source-code/app/src/main/java/org/buildmlearn/toolkit/quiztemplate/fragment/QuestionFragment.java b/source-code/app/src/main/java/org/buildmlearn/toolkit/quiztemplate/fragment/QuestionFragment.java
index af7a3d6f..fc2057da 100644
--- a/source-code/app/src/main/java/org/buildmlearn/toolkit/quiztemplate/fragment/QuestionFragment.java
+++ b/source-code/app/src/main/java/org/buildmlearn/toolkit/quiztemplate/fragment/QuestionFragment.java
@@ -207,6 +207,14 @@ public void onClick(View v) {
}
});
+ rootView.findViewById(R.id.clear).setOnClickListener(new View.OnClickListener() {
+
+ @Override
+ public void onClick(View v) {
+ rg.clearCheck();
+ }
+ });
+
if (Integer.parseInt(questionId) == 1) {
rootView.findViewById(R.id.previous).setVisibility(View.INVISIBLE);
diff --git a/source-code/app/src/main/res/layout/comprehension_content_question.xml b/source-code/app/src/main/res/layout/comprehension_content_question.xml
index 6a6d89a2..9f5e6324 100644
--- a/source-code/app/src/main/res/layout/comprehension_content_question.xml
+++ b/source-code/app/src/main/res/layout/comprehension_content_question.xml
@@ -137,6 +137,21 @@
android:text="@string/comprehension_previous"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="@color/black_secondary_text" />
+
diff --git a/source-code/app/src/main/res/values/strings.xml b/source-code/app/src/main/res/values/strings.xml
index e5225118..f722acb1 100644
--- a/source-code/app/src/main/res/values/strings.xml
+++ b/source-code/app/src/main/res/values/strings.xml
@@ -459,4 +459,5 @@
tell
Tell a friend
BuildmLearn Toolkit for your phone. Download it from here :
+ CLEAR