Which of the following settings are correct?

A developer is developing a ticket booking application, in the selection of the location of the ticket, you need to use the slide selector Picker, in order to highlight the selected text, the developer sets the rendering effect that the selected text margin is greater than the ordinary text margin.

Which of the following settings are correct?
A . <Picker…… ohos:selected_normal_text_margin_ratio="5.0"/>
B . Picker.setSelectNormal TextMarginRatio(5.0f);
C . <Picker…… ohos:selected_normal_text_margin_ratio="0.5"/>
D . Picker.setSelectNormalTextMarginRatio(5.0);

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments