Adding rounded corners to a mapview

前端 未结 5 1500
迷失自我
迷失自我 2020-12-10 09:31

I\'m trying to code a simple MapActivity which uses the following layout (only contains the mapview for the moment, as I plan to add share the screen with a ListView in the

5条回答
  •  不知归路
    2020-12-10 10:02

    Just wrote a tutorial to have rounded corners on a MapView it's done programmatically so should scale well to all devices:

    http://www.anddev.org/novice-tutorials-f8/rounded-corners-map-view-t56908.html

    Once you have added the custom view class you can just instantiate a rounded mapview like so:

    
    

提交回复
热议问题