光环助手V2.4优化汇总(20170302)

This commit is contained in:
khy
2017-03-07 09:46:54 +08:00
parent d870e68001
commit 9a2f4c984c
37 changed files with 396 additions and 152 deletions

View File

@ -105,7 +105,7 @@ public class WebActivity extends BaseActivity {
@Override
public void onReceivedTitle(WebView view, String title) {
super.onReceivedTitle(view, title);
if (TextUtils.isEmpty(newsId)) {
if (TextUtils.isEmpty(newsId) && TextUtils.isEmpty(newsTitle.getText().toString())) {
newsTitle.setEllipsize(TextUtils.TruncateAt.END);
newsTitle.setPadding(DisplayUtils.dip2px(getApplication(), 30), 0,DisplayUtils.dip2px(getApplication(), 30), 0);
newsTitle.setSingleLine();