Giter Club home page Giter Club logo

Comments (5)

hirakchhatbar avatar hirakchhatbar commented on May 14, 2024

Same thing happens when another link is opened in webview... It covers entire height and hence covers up the viewpager background

from materialviewpager.

florent37 avatar florent37 commented on May 14, 2024

No it's not a bug. I have to get a full height scroller, so my only
solution is to make the background clear color and add a margin into the
top.
I really hate webviews, so I don't think i'm gonna modify this. But if you
have another solution you can create a pull request, I will merge it ;)

2015-05-27 9:08 GMT+02:00 sach200 [email protected]:

Same thing happens when another link is opened in webview... It covers
entire height and hence covers up the viewpager background


Reply to this email directly or view it on GitHub
#44 (comment)
.

from materialviewpager.

hirakchhatbar avatar hirakchhatbar commented on May 14, 2024

I added transparent background color and added margin at the top.. Got this!!!! The white rectangle doesnt scroll... Webview scrolls in half portion only
screenshot_2015-05-27-13-46-18 1

from materialviewpager.

florent37 avatar florent37 commented on May 14, 2024

and add

webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH); webSettings.
setCacheMode(WebSettings.LOAD_NO_CACHE); webSettings.setJavaScriptEnabled(
true); webSettings.setDomStorageEnabled(true); //transparent background
webView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);

2015-05-27 10:18 GMT+02:00 sach200 [email protected]:

I added transparent background color and added margin at the top.. Got
this!!!! The white rectangle doesnt scroll... Webview scrolls in half
portion only
[image: screenshot_2015-05-27-13-46-18 1]
https://cloud.githubusercontent.com/assets/12546237/7831699/d35d8a24-0476-11e5-8bb6-2b2c53840f13.png


Reply to this email directly or view it on GitHub
#44 (comment)
.

from materialviewpager.

florent37 avatar florent37 commented on May 14, 2024

https://github.com/florent37/MaterialViewPager/blob/master/materialviewpager/src/main/java/com/github/florent37/materialviewpager/MaterialViewPagerHelper.java

2015-05-27 10:20 GMT+02:00 Florent Champigny [email protected]:

and add

webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE); webSettings.
setJavaScriptEnabled(true); webSettings.setDomStorageEnabled(true); //transparent
background webView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);

2015-05-27 10:18 GMT+02:00 sach200 [email protected]:

I added transparent background color and added margin at the top.. Got
this!!!! The white rectangle doesnt scroll... Webview scrolls in half
portion only
[image: screenshot_2015-05-27-13-46-18 1]
https://cloud.githubusercontent.com/assets/12546237/7831699/d35d8a24-0476-11e5-8bb6-2b2c53840f13.png


Reply to this email directly or view it on GitHub
#44 (comment)
.

from materialviewpager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.