<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
	<!-- Base application theme. -->
	<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
		<item name="colorAccent">@color/accent</item>
		<item name="colorPrimary">@color/primary</item>
		<item name="colorPrimaryDark">@color/primary_dark</item>
		<item name="android:statusBarColor" tools:targetApi="21">
			@android:color/transparent
		</item>
		<item name="android:windowDrawsSystemBarBackgrounds" tools:targetApi="21">
			true
		</item>
	</style>

	<style name="TransparentActivity" parent="Theme.AppCompat">
		<item name="android:backgroundDimEnabled">false</item>
		<item name="android:windowBackground">@android:color/transparent</item>
		<item name="android:windowContentOverlay">@null</item>
		<item name="android:windowIsFloating">true</item>
		<item name="android:windowIsTranslucent">true</item>
		<item name="android:windowNoTitle">true</item>
	</style>
</resources>

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
	<!-- Base application theme. -->
	<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
		<item name="alertDialogTheme">@style/AlertDialog</item>
		<item name="colorAccent">@color/accent</item>
		<item name="colorPrimary">@color/primary</item>
		<item name="colorPrimaryDark">@color/primary_dark</item>
		<item name="android:statusBarColor" tools:targetApi="21">
			@android:color/transparent
		</item>
		<item name="android:windowDrawsSystemBarBackgrounds" tools:targetApi="21">
			true
		</item>
	</style>

	<style name="AlertDialog" parent="Theme.AppCompat.Dialog.Alert">
		<item name="colorAccent">@color/accent</item>
	</style>

	<style name="TransparentActivity" parent="Theme.AppCompat">
		<item name="android:backgroundDimEnabled">false</item>
		<item name="android:windowBackground">@android:color/transparent</item>
		<item name="android:windowContentOverlay">@null</item>
		<item name="android:windowIsFloating">true</item>
		<item name="android:windowIsTranslucent">true</item>
		<item name="android:windowNoTitle">true</item>
	</style>
</resources>

Change AlertDialog button color to match the application theme
Change AlertDialog button color to match the application theme
