Android change google maps zoom buttons style -


question how resources of google map, change background these buttons. so, i've found solution via debugger:

view mapview = super.oncreateview(inflater, container, savedinstancestate);     // button view  view locationbutton = ((view) mapview.findviewbyid(1).getparent()).findviewbyid(2); 

but cant understand how id's views need debugger

use findviewbyid(hardcode) no safely.

better disable native control(setzoomcontrolsenabled(false)) , attach yours(you have full access eg animation, color, styles, characters, drawable etc).


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

android - How to read a column value in parse.com without accessing an object or a pointer -

timer - Java TimerTask cancel -