Skip to content

Commit

Permalink
change multiply
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeterry committed Sep 4, 2017
1 parent 618e398 commit 3e8139d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public CoordinatorTabLayout setTransulcentStatusBar(@NonNull Activity activity)
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
return this;
} else {
mToolbar.setPadding(0, SystemView.getStatusBarHeight(activity)/2, 0, 0);
mToolbar.setPadding(0, SystemView.getStatusBarHeight(activity) >> 1, 0, 0);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
Expand Down

0 comments on commit 3e8139d

Please sign in to comment.