title: How do I get the coordinates of an image in an image view?
body: <p>I have to scale parent layout scale animation. So, I got coordinates of image view. But, image is not fulfilled in image view. That means I can't make right scale animation. </p>
  
  <p>Under code is my exmaple</p>
  
  <pre><code> @Override
      public void onBindViewHolder(final MyViewHolder holder, final int position) {
          if (data.size() != 0) {
              // TODO Make Method
              holder.thumbImg.post(new Runnable() {
                  @Override
                  public void run() {
                      if (position == 1) {
  
                          holder.thumbImg.getLocationInWindow(thumImgXy);
                          thumImgWidth = holder.thumbImg.getWidth();
                          thumImgHeight = holder.thumbImg.getHeight();
                          thumImgPivotX = holder.thumbImg.getPivotX();
                          thumImgPivotY = holder.thumbImg.getPivotY();
                      }
                  }
              });
              holder.thumbImg.setId(Integer.parseInt("1001" + position));
              measureThumImgView(holder);
  
              if (!((position == 0 &amp;&amp; data.get(position).getTitle().equals("테스트1")) || ((position == data.size() - 1) &amp;&amp; data.get(position).getTitle().equals("테스트2")))) {
                  holder.title.setText(data.get(position).getTitle());
                  if (position != resumePos) {
                      Glide.with(context).load(data.get(position).getVideoThumbnail()).into(holder.thumbImg);
                  } else {
                      holder.thumbImg.setVisibility(View.INVISIBLE);
                  }
                  holder.itemLayout.setVisibility(View.VISIBLE);
              } else {
                  holder.itemLayout.setLayoutParams(new RelativeLayout.LayoutParams(Utility.getDpToPixel(context, 180), Utility.getDpToPixel(context, 70)));
                  holder.itemLayout.setVisibility(View.INVISIBLE);
              }
              holder.time.setText(getDuration(data.get(position).getDuration()));
              operations.put(position, true);
          }
      }
  </code></pre>
  
  <p>How do I get the coordinates of an image in an image view?</p>