android


Chrome on Android pixel ratio off?


I've implemented em's throughout all my mobile CSS, and I just set the font-size once on the body tag based on device-pixel-ratio to either 16px (ratio: 1), 24px (ratio: 1.5), or 32px (ratio: 2) etc., but when I open my site in Chrome on Android, it catches the 1.5 ratio in the CSS (correct for this device), but everything is 1.5 times larger than in Dolphin or stock Browser.
Any idea what's going on there?
This is the result of Chrome for Android removing support for target-densitydpi. This seems like quite an obtuse decision to me, but it is what it is. The mostly-working solution is to manually detect Chrome/Android version 25+ and change my zoom level to 1/devicePixelRatio.

Related Links

Changing TextView? when i try it throws errors
Android 4.0.4 Soft Keyboard on WebView Results in White Page
Separating string.xml in an android application
Time Event Listener
Loading images from another domain in webview
Showing text in EditView on right side
How can I download Image File from an URL to ByteArray?
Kill all recent applications in android
“Malformed request” error when making a call in Twilio Android client
GridView highlighting incorrect position when clicked
MenuItem to open link with intent?
show the previous fragment on hitting icon in action bar?
Can't set alpha of ImageView in XML
Creating a custom GridView that has text in the first column and images in the others
Trying to attach image to mms/sms after select attachment from MMS app
GCMIntentService cast exception

Categories

HOME
xml
paraview
polymer
codenvy
jmeter
gpu
sh
grafana
nsbundle
3d-reconstruction
babeljs
modal-dialog
shared-libraries
android-intent
feathersjs
dreamweaver
xmonad
sigma.js
undertow
squashfs
object-storage
slidetoggle
rpgle
quantlib
send
kudu
powershell-ise
deltaspike
turfjs
timing
railstutorial.org
watchface
httr
x++
servermanager
vugen
tf
arules
gpg-signature
flyout
cd-burning
rxtx
sandcastle
testrail
meteor-packages
ziparchive
x-tag
jquery-jscrollpane
lean
angular-ui-typeahead
sklearn-pandas
false-sharing
maybe
pypiserver
lazybones
coda
sapscript
ember-cli-rails
airbrake
linked-tables
pyobjc
cryptographichashfunction
crowd
metatrader5
appserver
wcm
jama
malformedurlexception
accesscontrolexception
model-driven-development
nebula
merb
swfobject
appjs
multiplexing
mapping-by-code
infobright
clrstoredprocedure
w3c-geolocation
cac
luajava
delimited-text
maven-1
pos-for-.net
firefox-3
flvplayback
unmanagedresources

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App