Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.76 KB

tips-and-tricks.md

File metadata and controls

43 lines (24 loc) · 1.76 KB

Tips and Tricks

Date: 2015-10-10
Last Update: 2015-12-10

WebView Tips & Tricks for Android

WebView Tips & Tricks - these tips are specifically for Chrome (SDK 19+)

  • Flicker of colors when the application loads
  • Touch Feedback

Use a Specific Keyboard Type

Google: phonegap android force numeric keyboard
FWIW: Cordova will work in place of phonegap.

An answer is Triggering Numeric Keyboards with HTML5

The answer to your question is: <input type="number" step="0.01">

Turn on Hardware Acceleration

google: css turn on hardware acceleration.

This article is likely the best: HTML5 Rocks High Performance Animations

This is good too: Phonegap Tips Force Hardware Acceleration with translate3d... Sometimes

SRCSET for Responsive Images

Responsive HTML5 Touch Interfaces