弹出窗口pref android

时间:2013-06-21 06:00:43

标签: android preferences

我想在我的壁纸中实现一个关于框的内容。为此,我想要一个窗口显示,其中包含用户点击它时的信息。

没有像checkbox,listview等可用的控件可用于此...... 我还尝试通过以下一些其他问题的建议来制作一个Dialog Pref,但结果却出现了一个似乎不适合关于盒子的对话框。 我的DialogPref:

public class DialogPref extends DialogPreference {

    public DialogPref(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onDialogClosed(boolean positiveResult) {
        super.onDialogClosed(positiveResult);
        persistBoolean(positiveResult);
    }

}

那么你能帮我实现一个关于盒子的弹出窗口吗?

0 个答案:

没有答案