Relocate Google logo in MapView

后端 未结 8 1624
迷失自我
迷失自我 2020-11-30 06:00

I have two buttons at each bottom corners of the MapView, partly obscuring the google logo in the bottom-left corner.

In order to comply with the terms

8条回答
  •  广开言路
    2020-11-30 06:15

    From the documentation :

    protected final void onDraw(android.graphics.Canvas canvas)
    

    onDraw is final method. This can't be overridden at all.

    You can alternatively, show your buttons below mapview in layout aligned to parent bottom. This way you can have buttons at the position where you like and it will not obscure your google logo.

提交回复
热议问题