From 0106c22e0e7073d752bf4200f9733cb4edd30854 Mon Sep 17 00:00:00 2001 From: dieechtenilente Date: Wed, 22 Aug 2018 20:42:32 +0200 Subject: [PATCH] Adds ShowRecipes dialog --- .../breathalyzer/ShowRecipes.java | 1 + .../main/res/layout/dialog_create_recipe.xml | 31 +++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/de/klaushackner/breathalyzer/ShowRecipes.java b/app/src/main/java/de/klaushackner/breathalyzer/ShowRecipes.java index 3fd18d4..2a068b0 100644 --- a/app/src/main/java/de/klaushackner/breathalyzer/ShowRecipes.java +++ b/app/src/main/java/de/klaushackner/breathalyzer/ShowRecipes.java @@ -145,6 +145,7 @@ private void updateMixtures() { public void addCustomMixture() { final Dialog dialog = new Dialog(this); dialog.setContentView(R.layout.dialog_create_recipe); + /* dialog.setTitle(R.string.add_Mixture); final TextView title = (TextView) dialog.findViewById(android.R.id.title); diff --git a/app/src/main/res/layout/dialog_create_recipe.xml b/app/src/main/res/layout/dialog_create_recipe.xml index d8fb324..aeefa8e 100644 --- a/app/src/main/res/layout/dialog_create_recipe.xml +++ b/app/src/main/res/layout/dialog_create_recipe.xml @@ -1,6 +1,31 @@ - - \ No newline at end of file + + + + + + + + + \ No newline at end of file