title: How to get Center of an Imageview which is a circle
body: <p>Now I have an ImgeView which a circle and I want to find the center point of that circle so I have tried the following code but it seems not working</p>
  
  <pre><code>int[] location = new int[2];
              imageView.getLocationOnScreen(location);
  
  int radius=imageView.getHeight()/2;
                      int[] center=new int[2];
                      center[0]=location[0]+radius;
                      center[1]=location[1]+radius;
  </code></pre>
  
  <p>so the coordinates I got by "location" is top point of the imageview or not ?</p>
  
  <p>Please help me how to get a center point of an imageview.</p>