KapoorVashisht / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

OSM MapView overlaps ListView during double tap zoom #420

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have problem with osmdroid MapView which overlaps ListView during double tap 
zoom (and also when I tap plus sign on built in zoom controls).
You can find more info at stackoverflow:
http://stackoverflow.com/questions/15566509/mapview-overlaps-listview-during-dou
ble-tap-zoom

I'm using osmdroid version: 3.0.9. It happens on emulator, Sony Ericsson Live 
With Walkman and Nexus 7. Is it a bug or I'm doing something wrong?

Original issue reported on code.google.com by ziem1...@gmail.com on 5 Apr 2013 at 7:51

GoogleCodeExporter commented 8 years ago
Do you have hardware acceleration turned off?

Original comment by kurtzm...@gmail.com on 5 Apr 2013 at 1:05

GoogleCodeExporter commented 8 years ago
No, I don't. What should I do?

Original comment by ziem1...@gmail.com on 5 Apr 2013 at 5:55

GoogleCodeExporter commented 8 years ago
In your manifest there is a setting called "Hardware Acceleration" - set it to 
"false".

Original comment by kurtzm...@gmail.com on 6 Apr 2013 at 2:53

GoogleCodeExporter commented 8 years ago
I added android:hardwareAccelerated="false" to manifest tag but it doesn't 
solve the problem. This defect occurs on e.g. 4.0.4 and 2.3.3 Android. In 
addition there is strange black bar on the top part of MapView: 
http://i.imgur.com/AZF7Dmx.png (on Samsung GT-P1000 - Android 2.3.3). 

Do you need more details to help me?

Original comment by ziem1...@gmail.com on 8 Apr 2013 at 12:53

GoogleCodeExporter commented 8 years ago
A few things to try:

1. Try the latest trunk. We updated a few things to help support hardware 
acceleration - maybe that will help your situation too.

2. Try the samples app which does not exhibit any issues - find what is 
different between your app and the samples. Make small incremental changes 
until you find what breaks it and then report back.

3. Post your project and maybe we can take a look.

Original comment by kurtzm...@gmail.com on 8 Apr 2013 at 1:21

GoogleCodeExporter commented 8 years ago
@kurtzmarc
Latest trunk does not work at pre-14 devices, see
http://code.google.com/p/osmdroid/issues/detail?id=413#c20

Original comment by devemu...@gmail.com on 8 Apr 2013 at 1:51

GoogleCodeExporter commented 8 years ago
Sorry for huge delay in answering... 

I would like to know if anything changed?

I update osmdroid-android from repo today but it doesn't fix my issue. Am I 
doing something wrong?

I added this to manifest:
<application
    android:label="@string/app_name"
    android:theme="@style/Theme.Sherlock"
    android:hardwareAccelerated="false">

Here you can find layout:
http://stackoverflow.com/questions/15566509/mapview-overlaps-listview-during-dou
ble-tap-zoom

I'm attaching source code of my activity.

Can you help me?

Original comment by ziem1...@gmail.com on 27 May 2013 at 8:24

Attachments:

GoogleCodeExporter commented 8 years ago
Issue 407 has been merged into this issue.

Original comment by kurtzm...@gmail.com on 14 Jun 2013 at 2:11