This commit is contained in:
jacques 2023-07-16 00:17:02 +02:00
parent 98043556ef
commit be946d0327
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;