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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -