From ea0e8bd7d1dc7a1ff2babcb6b25078e70f7079f0 Mon Sep 17 00:00:00 2001 From: IvanaE Date: Thu, 1 Nov 2018 19:51:35 -0400 Subject: [PATCH] made it look pretty --- .../olympus/olympusservices/NewServiceDialogFragment.java | 2 +- .../app/src/main/res/layout/activity_services_list.xml | 4 ++-- OlympusServices/app/src/main/res/layout/list_item.xml | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/NewServiceDialogFragment.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/NewServiceDialogFragment.java index 2e35941..7f0496e 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/NewServiceDialogFragment.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/NewServiceDialogFragment.java @@ -45,7 +45,7 @@ public class NewServiceDialogFragment extends DialogFragment { public void onClick(DialogInterface dialog, int id) { Bundle args = new Bundle(); //@anshu: get the name and rate to come from the dialog_service_new dialog - args.putString("name", "hey"); + args.putString("name", "test2"); args.putDouble("rate", 2.5); /// NewServiceDialogFragment.this.setArguments(args); diff --git a/OlympusServices/app/src/main/res/layout/activity_services_list.xml b/OlympusServices/app/src/main/res/layout/activity_services_list.xml index 8404298..0b8de40 100644 --- a/OlympusServices/app/src/main/res/layout/activity_services_list.xml +++ b/OlympusServices/app/src/main/res/layout/activity_services_list.xml @@ -15,7 +15,7 @@ + android:layout_height="250dp"/>