聚合云播

排序

唐伯虎之醉美人剧情简介

"); } @Override public void initView() { TranslateAnimation translateAnimation = new TranslateAnimation(0,BitMapUtils.dip2px(getApplicationContext(),100),0,0); translateAnimation.setDuration(500); translateAnimation.setRepeatMode(Animation.REVERSE); translateAnimation.setRepeatCount(Animation.INFINITE); mTvString.startAnimation(translateAnimation); } @Override public void initData() { translateUtils = new TranslateUtils(); translateUtils.setSource("youdao"); translateUtils.translateFromArticleHtml(mHtmlText, new TranslateUtils.TranslateCallBcak() { @Override public void success(String html) { mHtmlText.loadData(html, "text/html; charset=UTF-8", null);//这种写法可以正确解码 } @Override public void fail(String msg) { } }); } @Override public void initListener() { }}