Skip to content

Commit

Permalink
Merge pull request chentao0707#21 from audiebantzhan/master
Browse files Browse the repository at this point in the history
Update BaseAppCompatActivity.java
  • Loading branch information
chentao0707 committed Sep 10, 2015
2 parents befe0fa + 610e0f1 commit a94608b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,9 @@ protected void readyGoForResult(Class<?> clazz, int requestCode, Bundle bundle)
* @param msg
*/
protected void showToast(String msg) {
//防止遮盖虚拟按键
if (null != msg && !CommonUtils.isEmpty(msg)) {
Snackbar.make(getWindow().getDecorView(), msg, Snackbar.LENGTH_SHORT).show();
Snackbar.make(getLoadingTargetView(), msg, Snackbar.LENGTH_SHORT).show();
}
}

Expand Down Expand Up @@ -478,4 +479,4 @@ protected void setTranslucentStatus(boolean on) {
win.setAttributes(winParams);
}
}
}
}

0 comments on commit a94608b

Please sign in to comment.