开发者

android:Can we use XML layout for popup window insted of dynamic?

开发者_StackOverflow中文版

Can we use XML layout for popup window insted of dynamic? please give me a example

Thanks a lot...


Give this a try:

   public class MyLoadingDialog extends Dialog {

    public MyLoadingDialog(Context context) {
        super(context);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.mylayoutfile);
    } 
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜