Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this. It is definitely worth a research :)
Original comment by renasr...@gmail.com
on 19 Jan 2012 at 2:30
So what Clicker is trying to do is press the exact center of the View. There's
an issue that I've run into where if the center falls EXACTLY in the last row
of pixels, the Clicker can't click it anymore. Your "fix" might be working just
because you're shifting the click target to be higher than the center.
Also, as far as I know, nothing in the Android View code speaks "dp",
everything is converted from DPs to plain PXs as soon as the elements are
rendered.
Original comment by david...@gmail.com
on 1 Feb 2012 at 10:28
I guess I forgot to mention that the real fix should be that if the click
target falls on the edges, then the Clicker must do some scrolling before
trying to click.
Original comment by david...@gmail.com
on 1 Feb 2012 at 10:30
[deleted comment]
@davidmon, do you have a sample app that exhibits the issue that you are
describing?
Original comment by renasr...@gmail.com
on 4 Apr 2012 at 12:12
Unfortunately there is no way to find the density factor. Will reopen issue if
someone finds a way to detect this.
Original comment by renasr...@gmail.com
on 10 Apr 2012 at 6:47
I'm facing the same issue. please tell me if this issue has been fixed? and how
to fix it? I'm writing a program to simulate some action on Android. In case we
need to get location of the view and simulate action 'click'. It runs well on
Android 2. But in Android 4, It always click on wrong position. I got device
density though displaymatrix on emulator (android development kit). It's 1.0.
Original comment by pyra...@gmail.com
on 22 May 2012 at 10:20
Have you added the below line to the AndroidManifest.xml of the application
under test?
<supports-screens android:anyDensity="true"/>
Original comment by renasr...@gmail.com
on 22 May 2012 at 10:24
does this go for the samsung exhibit II as well? solo.clickOnView(popup);
(popup is a View type) is failing, but works on another samsun phone and an
emulator.
I've just added the <supports-screens andriod:anyDensity="true"/> and still not
working.
Thanks.
Original comment by kali...@gmail.com
on 7 Jun 2012 at 10:25
Original issue reported on code.google.com by
sandeepa...@gmail.com
on 18 Jan 2012 at 5:26