File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed
java/org/buildmlearn/toolkit
comprehensiontemplate/fragment Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,14 @@ public void onClick(View v) {
208208 }
209209 });
210210
211+ rootView .findViewById (R .id .clear ).setOnClickListener (new View .OnClickListener () {
212+
213+ @ Override
214+ public void onClick (View v ) {
215+ rg .clearCheck ();
216+ }
217+ });
218+
211219 if (Integer .parseInt (questionId ) == 1 ) {
212220
213221 rootView .findViewById (R .id .previous ).setVisibility (View .INVISIBLE );
Original file line number Diff line number Diff line change @@ -207,6 +207,14 @@ public void onClick(View v) {
207207 }
208208 });
209209
210+ rootView .findViewById (R .id .clear ).setOnClickListener (new View .OnClickListener () {
211+
212+ @ Override
213+ public void onClick (View v ) {
214+ rg .clearCheck ();
215+ }
216+ });
217+
210218 if (Integer .parseInt (questionId ) == 1 ) {
211219
212220 rootView .findViewById (R .id .previous ).setVisibility (View .INVISIBLE );
Original file line number Diff line number Diff line change 137137 android : text =" @string/comprehension_previous"
138138 android : textAppearance =" ?android:textAppearanceSmall"
139139 android : textColor =" @color/black_secondary_text" />
140+ <Button
141+ android : id =" @+id/clear"
142+ android : layout_width =" wrap_content"
143+ android : layout_height =" wrap_content"
144+ android : layout_alignParentBottom =" true"
145+ android : layout_toLeftOf =" @+id/previous"
146+ android : layout_toStartOf =" @+id/previous"
147+ android : background =" @android:color/transparent"
148+ android : paddingBottom =" @dimen/headline_leading_simulator"
149+ android : paddingLeft =" @dimen/activity_vertical_margin_simulator"
150+ android : paddingRight =" @dimen/activity_vertical_margin_simulator"
151+ android : paddingTop =" @dimen/activity_vertical_margin_simulator"
152+ android : text =" @string/comprehension_clear_all"
153+ android : textAppearance =" ?android:textAppearanceSmall"
154+ android : textColor =" @color/black_secondary_text" />
140155
141156 </RelativeLayout >
142157
Original file line number Diff line number Diff line change 463463 <string name =" check_update" >Update</string >
464464 <string name =" update_title" >Check for New Version</string >
465465 <string name =" update_summary" >Check for Latest Version of app Playstore</string >
466+ <string name =" comprehension_clear_all" >CLEAR</string >
466467</resources >
You can’t perform that action at this time.
0 commit comments