diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java index 184ca15..bf6e48b 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java @@ -143,7 +143,7 @@ public class GameActivity extends BaseActivity implements NavigationView.OnNavig } if (!startGame) { - AlertDialog.Builder builder = new AlertDialog.Builder(GameActivity.this); + AlertDialog.Builder builder = new AlertDialog.Builder(GameActivity.this, R.style.AppTheme_Dialog); builder.setMessage(R.string.impossible_import_notice) .setCancelable(false) .setPositiveButton(R.string.okay, new DialogInterface.OnClickListener() { @@ -593,7 +593,7 @@ public class GameActivity extends BaseActivity implements NavigationView.OnNavig @Override public Dialog onCreateDialog(Bundle savedInstanceState) { - AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); + AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_Dialog); LayoutInflater inflater = getActivity().getLayoutInflater(); DialogFragmentShareBoardBinding binding = DialogFragmentShareBoardBinding.inflate(inflater); @@ -634,7 +634,7 @@ public class GameActivity extends BaseActivity implements NavigationView.OnNavig @Override public Dialog onCreateDialog(Bundle savedInstanceState) { // Use the Builder class for convenient dialog construction - AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); + AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_Dialog); builder.setMessage(R.string.reset_confirmation) .setPositiveButton(R.string.reset_confirmation_confirm, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/LoadGameActivity.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/LoadGameActivity.java index 5549373..268be4d 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/LoadGameActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/LoadGameActivity.java @@ -146,7 +146,7 @@ public class LoadGameActivity extends BaseActivity implements IDeleteDialogFragm @Override public Dialog onCreateDialog(Bundle savedInstanceState) { // Use the Builder class for convenient dialog construction - AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); + AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_Dialog); builder.setMessage(R.string.loadgame_delete_confirmation) .setPositiveButton(R.string.loadgame_delete_confirm, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuSpecialButtonLayout.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuSpecialButtonLayout.java index d6c2d79..bb38607 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuSpecialButtonLayout.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuSpecialButtonLayout.java @@ -218,7 +218,7 @@ public class SudokuSpecialButtonLayout extends LinearLayout implements IHighligh @Override public Dialog onCreateDialog(Bundle savedInstanceState) { // Use the Builder class for convenient dialog construction - AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); + AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_Dialog); builder.setMessage(R.string.hint_confirmation) .setPositiveButton(R.string.hint_confirmation_confirm, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) {