Replace deprecated holo dark theme with material theme
This commit is contained in:
parent
df2b619a75
commit
cc8ea13f8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue