diff --git a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java index a4f676b..1e3cd26 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.mylayout); + dlg.setContentView(R.layout.custodialoglayout); dlg.setCancelable(false); TextView msg = dlg.findViewById(R.id.msg); String msgString;