Implement get view position and size in Android.