Skip to content

Commit

Permalink
this fixes TheFinestArtist#157
Browse files Browse the repository at this point in the history
  • Loading branch information
linakis committed Jan 25, 2019
1 parent 8850ef9 commit 6679275
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,10 @@ protected void initializeViews() {
((ViewGroup) webView.getParent()).removeAllViews();
swipeRefreshLayout.addView(webView);
swipeRefreshLayout.removeViewAt(1);

// Compensate coordinatorLayout pushing swipeRefreshLayout below appBar
float toolbarHeight = getResources().getDimension(R.dimen.toolbarHeight);
swipeRefreshLayout.setPadding(0, 0, 0, (int) toolbarHeight);
}
}
if (webViewDisplayZoomControls != null
Expand Down

0 comments on commit 6679275

Please sign in to comment.