scrollView->SetMaxScrollDistance(1000);
scrollView->SetThrowDrag(true);
scrollView->SetHorizontalScrollState(false); // 禁止水平滑动
- // scrollView->SetVerticalScrollState(false); // 禁止垂直滑动
+ scrollView->SetVerticalScrollState(false); // 禁止垂直滑动
}
void AssistantAnswerView::InitImageAnimator() {
notelabel->Resize(380, 60);
notelabel->SetViewId("notelabel");
notelabel->SetStyle(STYLE_TEXT_FONT, 30);
+ //TODO:多国语言
notelabel->SetText("试试对我说“打电话给某人”");
notelabel->SetLineBreakMode(UILabel::LINE_BREAK_ELLIPSIS);
notelabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER);