摘要:
public class V_AlertAmuseAppsGrid extends GridView { public V_AlertAmuseAppsGrid(android.content.Context context, android.util.AttributeSet attrs) { super(context, attrs); } /** * 设置不滚动 */ public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { int expandSpec = MeasureSpec.makeMeasu... 阅读全文
posted @ 2012-02-22 14:47
志强思密达
阅读(392)
评论(0)
推荐(0)
摘要:
menuDialog = new AlertDialog.Builder(this).create(); Window mWindow = menuDialog.getWindow(); WindowManager.LayoutParams lp = mWindow.getAttributes(); lp.x = 10; //新位置X坐标 lp.y = 120; //新位置Y坐标menuDialog.onWindowAttributesChanged(lp); menuDialog.show();新位置的坐标如果是X=0 Y=0的话 那么弹出位置就是中间,负数的话就是向左,正... 阅读全文
posted @ 2012-02-22 14:11
志强思密达
阅读(265)
评论(0)
推荐(0)
浙公网安备 33010602011771号