Home Change AlertDialogue Titlebar Color
Reply: 0

Change AlertDialogue Titlebar Color

Priya
1#
Priya Published in 2017-09-14 05:22:55Z

I am using custom style in one of my alert dialogue . I have used background color for change dialogue. I want titlebar and buttonbar color different. I have tried to find solution but not got any working. I want change yellow marked area color change.

My Style is like below

<style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
        <item name="android:textColor">?attr/TextColor</item>
        <item name="android:background">?attr/MainColorDark</item>
        <item name="colorAccent">?attr/MainAccentColor</item>
        <item name="textColorAlertDialogListItem">?attr/TextColor</item>
        <item name="android:textColorSecondary">?attr/TextColor</item>

    </style>

Let me know if someone have idea or solution to change that color. Thanks

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300759 second(s) , Gzip On .

© 2016 Powered by cudou.com design MATCHINFO