title: My-Location Button of GoogleMaps v2 Android, not displayed
body: <p>I'm doing an app, with google maps, but when I try to add "my-location" button, as the reference says doesn't work...</p>
  
  <p>thats how I do:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          map = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();
  
          locManager = (LocationManager)getSystemService(LOCATION_SERVICE);
          providersList = locManager.getAllProviders();
          provider =locManager.getProvider(providersList.get(0));
          precision = provider.getAccuracy();
          req = new Criteria();
          req.setAccuracy(Criteria.ACCURACY_FINE);        
          inside = false;
  
          map.getUiSettings().setMyLocationButtonEnabled(true);
  
          buildPolygon();
          drawPolygon();
          startLocalization();
      }
  </code></pre>
  
  <p>I used <code>map.getUiSettings().setMyLocationButtonEnabled(true);</code> as shows in the reference of google. I don't know what's going on..</p>