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

```
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;

```

so the coordinates I got by "location" is top point of the imageview or not ?

Please help me how to get a center point of an imageview.