android dialog 不变暗

<resources>
    <style name="dialog" parent="@android:style/Theme.Dialog">
        <item name="android:backgroundDimEnabled">false</item><!--activity不变暗-->
    </style>
</resources>

Dialog = new Dialog(Activity, R.style.dialog);

posted @ 2012-05-14 15:20  Qiengo  阅读(388)  评论(0编辑  收藏  举报