File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
java/org/fossasia/openevent/general/event Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import kotlinx.android.synthetic.main.content_event.view.eventOrganiserDescripti
34
34
import kotlinx.android.synthetic.main.content_event.view.eventTimingLinearLayout
35
35
import kotlinx.android.synthetic.main.content_event.view.imageMap
36
36
import kotlinx.android.synthetic.main.content_event.view.eventImage
37
- import kotlinx.android.synthetic.main.content_event.view.feedbackBtn
37
+ import kotlinx.android.synthetic.main.content_event.view.feedbackTv
38
38
import kotlinx.android.synthetic.main.content_event.view.feedbackRv
39
39
import kotlinx.android.synthetic.main.content_event.view.feedbackProgress
40
40
import kotlinx.android.synthetic.main.content_event.view.nestedContentEventScroll
@@ -267,7 +267,7 @@ class EventDetailsFragment : Fragment() {
267
267
.nonNull()
268
268
.observe(viewLifecycleOwner, Observer {
269
269
rootView.feedbackProgress.isVisible = it
270
- rootView.feedbackBtn.isEnabled = ! it
270
+ rootView.feedbackTv.isVisible = ! it
271
271
})
272
272
273
273
eventViewModel.eventFeedback.observe(viewLifecycleOwner, Observer {
@@ -291,7 +291,7 @@ class EventDetailsFragment : Fragment() {
291
291
rootView.noFeedBackTv.isVisible = false
292
292
})
293
293
294
- rootView.feedbackBtn .setOnClickListener {
294
+ rootView.feedbackTv .setOnClickListener {
295
295
checkForAuthentication()
296
296
}
297
297
}
Original file line number Diff line number Diff line change 555
555
android : visibility =" gone"
556
556
tools : visibility =" visible" />
557
557
558
- <Button
559
- android : id =" @+id/feedbackBtn"
558
+ <TextView
559
+ android : id =" @+id/feedbackTv"
560
+ android : textStyle =" bold"
561
+ android : textAlignment =" center"
560
562
android : layout_width =" match_parent"
561
563
android : layout_height =" wrap_content"
562
- android : layout_marginTop =" @dimen/layout_margin_small"
563
- android : layout_marginStart =" @dimen/layout_margin_large"
564
- android : layout_marginEnd =" @dimen/layout_margin_large"
565
- android : layout_marginBottom =" @dimen/layout_margin_large"
564
+ android : layout_margin =" @dimen/layout_margin_large"
565
+ android : textColor =" @color/colorAccent"
566
566
android : text =" @string/write_feedback" />
567
567
</LinearLayout >
568
568
Original file line number Diff line number Diff line change 40
40
layout =" @layout/content_event"
41
41
android : layout_width =" match_parent"
42
42
android : layout_height =" match_parent"
43
- android : layout_marginBottom =" @dimen/event_details_divider_margin "
43
+ android : layout_marginBottom =" @dimen/layout_margin_extreme_large "
44
44
bind : event =" @{event}" />
45
45
46
46
<View
Original file line number Diff line number Diff line change 356
356
<string name =" and_i_m_up_for" >And I\'m up for</string >
357
357
<string name =" what_type" >What Sounds good?</string >
358
358
<string name =" feedback" >Feedback</string >
359
- <string name =" write_feedback" >Write Feedback </string >
359
+ <string name =" write_feedback" >WRITE A FEEDBACK </string >
360
360
<string name =" submit" >Submit</string >
361
361
<string name =" submit_feedback" >Submit Feedback</string >
362
362
<string name =" feedback_submitted" >Feedback submitted Successfully</string >
363
- <string name =" be_the_first_to_write_a_review" >Be the first to write a review </string >
363
+ <string name =" be_the_first_to_write_a_review" >Be the first to write a feedback </string >
364
364
<string name =" frequently_asked_questions" >Frequently Asked Questions</string >
365
365
<string name =" no_faq_message" >There are no frequenly asked questions for this event.</string >
366
366
You can’t perform that action at this time.
0 commit comments