Congrats dialog colot fixed.
This commit is contained in:
@@ -122,7 +122,7 @@ public class PuzzleBoardFragment extends Fragment
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Dialog createNextLevelDialog(DialogInterface.OnClickListener listener){
|
private Dialog createNextLevelDialog(DialogInterface.OnClickListener listener){
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.BanvorDialog);
|
||||||
builder.setTitle("Congratulations! You Won!");
|
builder.setTitle("Congratulations! You Won!");
|
||||||
builder.setMessage( "Would you like to try the next puzzle?" );
|
builder.setMessage( "Would you like to try the next puzzle?" );
|
||||||
builder.setPositiveButton("Yes, please.", listener);
|
builder.setPositiveButton("Yes, please.", listener);
|
||||||
|
|||||||
@@ -20,6 +20,10 @@
|
|||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="BanvorDialog" parent="Theme.AppCompat.Light.Dialog.Alert">
|
||||||
|
<item name="android:background">@color/transparent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
<style name="AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||||
|
|
||||||
<style name="PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
<style name="PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||||
|
|||||||
Reference in New Issue
Block a user