请教各位大侠怎么实现? 请教这个弹出的黑色的按钮框是怎么实现的呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 大侠,请问您有相关的代码demo么? OVERLAY?多加了一层?或者加了一张透明的图? 贴一段代码 LayoutInflater mLayoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); final ViewGroup menuView = (ViewGroup) mLayoutInflater.inflate(你的自资源文件id, null, true); mPopupWindow = new PopupWindow(menuView, LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT, true); mPopupWindow.setBackgroundDrawable(new BitmapDrawable()); mPopupWindow.setOutsideTouchable(true); mPopupWindow.setFocusable(true);点击title的按钮触发mPopupWindow.showAsDropDown(View view); 求手机流媒体解决方案 android怎么实现级联查询呢 秒表计时器,最小单位为毫秒,10毫秒,则画面显示反应缓慢,该怎么解决? 关于andriod2.2驱动移植到4.0的可能性 请教高手,这种效果的弹出式菜单怎么实现呢? android HttpURLConnection 这每次写入文件的大小都不一样 关于handler机制的问题 widget开发,有没有前途 android 如何播放IOS设备录制的AAC音频文件 这个界面怎么写。。。求指导。。。 我来了,android系统源代码115下载 标题要长 布局问题
大侠,请问您有相关的代码demo么?
final ViewGroup menuView = (ViewGroup) mLayoutInflater.inflate(你的自资源文件id, null, true);
mPopupWindow = new PopupWindow(menuView, LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT, true);
mPopupWindow.setBackgroundDrawable(new BitmapDrawable());
mPopupWindow.setOutsideTouchable(true);
mPopupWindow.setFocusable(true);点击title的按钮触发mPopupWindow.showAsDropDown(View view);