---
title: "android popwindow 弹出位置"
author: "jguangyou"
date: "2012-04-26T15:31:09Z"
tags: []
categories: ["移动开发"]
slug: "android-popwindow"
draft: false
lastmod: "2012-04-26T15:31:09Z"
id: 1499865
url: "https://deep-fish.iteye.com/blog/1499865"
---

pw.showAtLocation(v, Gravity.TOP, -100, 50);执行此方法后，执行完成后，要执行下面方法：

pw.update(v, -100, 50, 300, 200);