H14-231_V1-0 practice question 31 of 35

When a developer is developing a flight booking application, he needs to use the sliding selector DatePicker in the date selection of air tickets, and in order to improve the user experience, he needs to set the color of a single year/month/day item in operation to blue (#0000FF), which of the following items can meet the development needs?

Full set: 699 questions
Answer options
A: ohos:selected text color=#0000FF
B: datePicker.setSelectedTextColor(new Color(Color.getlIntColor( "#0000FF")));
C: datePicker.setPeratedTextColor(new Color(Color.getIntColor("#000OFF")));
D: ohos:operated_text_color="0000FF"
Correct Answer:
AB
Scroll to Top