From be946d0327050fe6b9acd784a14549abc5ebaa56 Mon Sep 17 00:00:00 2001 From: jacques Date: Sun, 16 Jul 2023 00:17:02 +0200 Subject: [PATCH] Fix typo --- app/src/main/java/net/foucry/pilldroid/DrugListActivity.java | 2 +- app/src/main/java/net/foucry/pilldroid/WelcomeActivity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java index 1b9d66b..76a5225 100644 --- a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java @@ -384,7 +384,7 @@ public class DrugListActivity extends AppCompatActivity { final Dialog dlg = new Dialog(this); dlg.requestWindowFeature(Window.FEATURE_NO_TITLE); dlg.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT)); - dlg.setContentView(R.layout.custom_dialog_layout_one_button); + dlg.setContentView(R.layout.custom_dialog_one_button_layout); dlg.setCancelable(false); TextView msg = dlg.findViewById(R.id.msg); String msgString; diff --git a/app/src/main/java/net/foucry/pilldroid/WelcomeActivity.java b/app/src/main/java/net/foucry/pilldroid/WelcomeActivity.java index 7319c4b..fdc1978 100644 --- a/app/src/main/java/net/foucry/pilldroid/WelcomeActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/WelcomeActivity.java @@ -139,7 +139,7 @@ public class WelcomeActivity extends AppCompatActivity { final Dialog dlg = new Dialog(this); dlg.requestWindowFeature(Window.FEATURE_NO_TITLE); dlg.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT)); - dlg.setContentView(R.layout.custom_dialog_layout_one_button); + dlg.setContentView(R.layout.custom_dialog_one_button_layout); dlg.setCancelable(false); TextView msg = dlg.findViewById(R.id.msg); String msgString;