Skip to content

WilcoBreedt/chromium-webview-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chromium WebView Samples

This is a repository with useful examples for developing apps using the Chromium WebView.

If you spot any issues or questions please feel free to file an issue or reach out to @gauntface

##TEXT_AUTOSIZING

In the Android KitKat+ there will no longer be support for SINGLE_COLUMN or NARROW_COLUMN layout algorithms. But in KitKat a new layout algorithm TEXT_AUTOSIZING was added and textautosizing-example contains an example to try out.

![Image of TEXT_AUTOSIZING](http://i.imgur.com/03c0isb.png "Image Show off TEXT_AUTOSIZING")

##Touch Events in the WebView

In the older version of WebView developers didn't need to implement the touchcancel event, although it's good practice to do so. In the Chromium WebView it's important to implement the touchcancel event as certain scenarios will now trigger a touchcancel event instead of a touchend event (i.e. a user scrolls off of an element or e.preventDefault() isn't called in the touchstart event. The web-touch-example contains an example application using touch to move an element and reveal a little Android.

![Image of WebView Touch Example](http://i.imgur.com/ffz4gkV.png "Image of WebView Touch Example")

About

Useful examples for Developing apps with the Chromium based WebView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 58.5%
  • JavaScript 14.9%
  • CSS 13.3%
  • HTML 13.3%