Replace deprecated holo dark theme with material theme

This commit is contained in:
saschawillems 2018-05-09 23:28:58 +02:00
parent df2b619a75
commit cc8ea13f8d

View file

@ -37,7 +37,7 @@ public class VulkanActivity extends NativeActivity {
this.runOnUiThread(new Runnable() { this.runOnUiThread(new Runnable() {
public void run() { public void run() {
AlertDialog.Builder builder = new AlertDialog.Builder(activity, AlertDialog.THEME_HOLO_DARK); AlertDialog.Builder builder = new AlertDialog.Builder(activity, android.R.style.Theme_Material_Dialog_Alert);
builder.setTitle(applicationName); builder.setTitle(applicationName);
builder.setMessage(message); builder.setMessage(message);
builder.setPositiveButton("Close", new DialogInterface.OnClickListener() { builder.setPositiveButton("Close", new DialogInterface.OnClickListener() {