android - AlertDialog customize background -
there problem styles. prepare alertdialog totaly colered in yellow without shadow. here code below:
alertdialog.builder alert = new alertdialog.builder(about.this, r.style.mystyle); <style name="apptheme" parent="theme.appcompat"> <item name="android:dialogtheme">@style/mystyle.dialog</item> <style name="mystyle.dialog" parent="theme.appcompat.light.dialog"> <item name="coloraccent">@color/color_accent</item> <item name="android:windowbackground">@android:color/transparent</item> <item name="android:windowisfloating">true</item> <item name="android:windownotitle">true</item> <item name="android:windowcloseontouchoutside">false</item>
any help? messsage in white color.
if use alertdialog
, apply custom style still display black shadow though have set android:windowbackground
transparent.
so need use dialog
, apply custom style solve issue.
Comments
Post a Comment