<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Main theme -->

    <style name="AppTheme" parent="Base.AppTheme"/>

    <style name="DialogTheme" parent="android:Theme.Material.Light.Dialog"/>

    <!-- Styles -->

    <style name="Metadata.Selectable">
        <!-- Invert colors at theme level to allow using the white ripple selector -->
        <item name="android:theme">@style/ThemeOverlay.AppCompat.Dark</item>
        <item name="android:textColor">?android:textColorPrimary</item>
        <item name="android:background">?android:attr/selectableItemBackground</item>
    </style>

</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Main theme -->

    <style name="AppTheme" parent="Base.AppTheme">
        <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
    </style>

    <style name="DialogTheme" parent="android:Theme.Material.Light.Dialog">
        <item name="android:colorPrimary">@color/fosdem_purple</item>
        <item name="android:colorPrimaryDark">@color/fosdem_purple_dark</item>
        <item name="android:colorAccent">@color/fosdem_blue</item>
    </style>

    <style name="AlertDialogTheme" parent="android:Theme.Material.Light.Dialog.Alert">
        <item name="android:colorPrimary">@color/fosdem_purple</item>
        <item name="android:colorPrimaryDark">@color/fosdem_purple_dark</item>
        <item name="android:colorAccent">@color/fosdem_blue</item>
        <item name="android:textColorLink">?android:attr/colorAccent</item>
    </style>

    <!-- Styles -->

    <style name="Metadata.Selectable">
        <!-- Invert colors at theme level to allow using the white ripple selector -->
        <item name="android:theme">@style/ThemeOverlay.AppCompat.Dark</item>
        <item name="android:textColor">?android:textColorPrimary</item>
        <item name="android:background">?android:attr/selectableItemBackground</item>
    </style>

</resources>
Use FOSDEM colors for dialogs and AlertDialogs under Material theme.
Use FOSDEM colors for dialogs and AlertDialogs under Material theme.
