What does android.util.DisplayMetrics:
http://developer.android.com/reference/android/util/DisplayMetrics.html
give you?
On Friday, November 23, 2012 6:04:50 PM UTC, Fran wrote:
Hi there,
I have an emulator instance that seems to be reporting wrong resolution,
but I am not sure if it is
Probably confusion. It's kind of hard to sort out information from those
documents. In fact I found that emulators and real devices were picking up
different dimens.xml files I was using for setting font sizes than what the
documentation claimed. Fortunately this had also been discovered by
On 11/23/2012 07:52 PM, jtoolsdev wrote:
Probably confusion. It's kind of hard to sort out information from
those documents. In fact I found that emulators and real devices were
picking up different dimens.xml files I was using for setting font
sizes than what the documentation claimed.
Exactly the same wrong resolution, and dpi at 160 in all cases as
expected since it is a mdpi device.
metricsDisplayMetrics (id=830019718568)
density1.0
densityDpi160
heightPixels752
noncompatDensity1.0
noncompatHeightPixels752
I was looking for it earlier but haven't found it yet. I don't know if you
are declaring any dimens.xml but do you have a navigation bar on right when
landscape? That would account for the 1238 resolution. Then the top is
for the status bar or whatever it is being called these days. And 160
5 matches
Mail list logo