单项选择题

以下哪个方法是设置动画持续时间的?()

A.setDetachWallpaper(boolean)
B.setDuration(long)
C.setRepeatCount(int)
D.setDuration(int)

微信扫码免费搜题