linkedin/shaky-android

Dialog button text color is not visible

Opened this issue · 0 comments

Hey, im trying to use this library, but the values you are using are conflicting with my app theme and i cant find a way to change the color.
image

Im using dayNight material theme, these values im overriding in order to fix it:

    <item name="alertDialogTheme">@style/AlertDialog</item>
    <item name="shakyPopupButtonColor">@color/purple_70</item>
     <item name="shakyAlertDialogTheme">@style/AlertDialog</item>
     <item name="shakyTitleColor">@color/text_main</item>
     <item name="shakyContentColor">@color/text_subtitle</item>
      <item name="android:textColor">@color/purple_70</item>
      
     <style name="AlertDialog" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
        <item name="colorAccent">@color/purple_70</item>
        <item name="buttonBarNegativeButtonStyle">@style/Widget.Dialog.NegativeButton</item>
        <item name="buttonBarPositiveButtonStyle">@style/Widget.Dialog.PositiveButton</item>
    </style>

  <style name="Widget.Dialog.NegativeButton" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
        <item name="android:textColor">@color/purple_70</item>
    </style>

    <style name="Widget.Dialog.PositiveButton" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
        <item name="android:textColor">@color/purple_70</item>
    </style>

Is there a way to fix it? I cant find any configuration thats working,