Code example for PopupWindow

Methods: getWidthsetContentViewshowAsDropDown

0
  } 
 
  public void showPopList() 
  { 
    this.mPopView.setBackgroundResource(this.mPopBgId);
    this.mPopWindow.setContentView(this.mPopView);
    this.mPopOffsetX = (this.mPopAnchorView.getWidth() - this.mPopWindow.getWidth() - (int)(0.5F + 9.0F * this.mContext.getResources().getDisplayMetrics().density));
    this.mPopWindow.showAsDropDown(this.mPopAnchorView, this.mPopOffsetX, this.mPopOffsetY);
  } 
 
  public void update() 
  { 
    if (this.mPopWindow != null)
      this.mPopWindow.update();
  } 
} 
 
/* Location:           C:\Users\sandrocheng.21KUNPENG\Desktop\classes_dex2jar.jar 
 * Qualified Name:     com.tencent.qqpimsecure.uilib.view.PopListView 
 * JD-Core Version:    0.6.2 
 */