File tree 4 files changed +32
-0
lines changed
java/org/buildmlearn/toolkit
comprehensiontemplate/fragment
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) {
208
208
}
209
209
});
210
210
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
+
211
219
if (Integer .parseInt (questionId ) == 1 ) {
212
220
213
221
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) {
207
207
}
208
208
});
209
209
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
+
210
218
if (Integer .parseInt (questionId ) == 1 ) {
211
219
212
220
rootView .findViewById (R .id .previous ).setVisibility (View .INVISIBLE );
Original file line number Diff line number Diff line change 137
137
android : text =" @string/comprehension_previous"
138
138
android : textAppearance =" ?android:textAppearanceSmall"
139
139
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" />
140
155
141
156
</RelativeLayout >
142
157
Original file line number Diff line number Diff line change 462
462
<string name =" pref_tell_key" >tell</string >
463
463
<string name =" pref_tell_title" >Tell a friend</string >
464
464
<string name =" pref_tell_message" >BuildmLearn Toolkit for your phone. Download it from here :</string >
465
+ <string name =" comprehension_clear_all" >CLEAR</string >
465
466
</resources >
You can’t perform that action at this time.
0 commit comments