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

Android dialog fragment not dismissing
How to save fragment state in android?
Possibility to put a function / parameter to a button?
About Microsoft Onedrive REST api upload file from Android App
GoogleMap change the camera position on zoom
SQL or Firebase for Android application [closed]
Camera image bitmap is giving null android nogut
Add Interceptor for AFNetworking/Alamfire ios
Animation doesn't work when attached to the parent (RelativeLayout)layout?
How to auto launch android app when you receive notification [FCM]?
I want to connect my Android bus app to the clock?
Release.Keystore for Map API
Puzzle with time game
APK file was built successfully with no errors but app isn't working
Android Studio - reading and writing files
Dinamically change style of application. Android

Categories

HOME
search
porting
turing-machines
awk
eslint
wakanda
amp-html
google-spreadsheet
mjml
apache-spark-mllib
mstest
replace
javacc
dojo
mapbox
nfs
flume
g++
windows-ce
cmdb
angular-dart
linear-algebra
asp.net-mvc-viewmodel
enterprise-miner
kendo-mobile
spring-async
ember-cli
react-toolbox
monit
strongname
fable-f#
firebase-analytics
failover
recurring-events
dst
powershell-ise
database-comparison
cart
simplecv
linkedhashmap
card.io
github3.py
twos-complement
reactjs.net
processwire
watchman
openalpr
git-rewrite-history
jpad
reactivekit
demo
signals-slots
movilizer
contract
memory-mapping
mesosphere
dynamic-linq
httrack
proget
identification
check-mk
testrail
rmongo
parfor
watch-os-2
x-tag
simevents
refinerycms
angular-ui-typeahead
hadoop-partitioning
asyncdisplaykit
atan2
assertion
ons-api
android-launcher
visual-sourcesafe-2005
rdflib
graphics2d
avahi
nsurlsessiondatatask
entity-framework-4.3
jquery-forms-plugin
cryptographichashfunction
cross-join
beatsmusic
punycode
gii
angular-carousel
ss7
gnumeric
authlogic
multiautocompletetextview
git-repo
high-resolution
notorm
route-provider
epiceditor
booksleeve
joomla3.1
iboutlet
correlated-subquery
httponly
window-decoration
google-maps-mobile
relative
expression-blend-4
tmx
easyb
xpsdocument
ifilter

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App