made it look pretty

This commit is contained in:
IvanaE 2018-11-01 19:51:35 -04:00
parent e14c3bd0b3
commit 3fe77feeb5
3 changed files with 7 additions and 3 deletions

View file

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

View file

@ -15,7 +15,7 @@
<TextView
android:id="@+id/Welcome"
android:layout_width="300dp"
android:layout_height="80dp"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:gravity="center"
android:text="List of Services"
@ -64,7 +64,7 @@
android:id="@+id/Services"
android:scrollbars="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
android:layout_height="250dp"/>
</LinearLayout>
<Button

View file

@ -8,6 +8,8 @@
<TextView
android:paddingLeft="10dp"
android:paddingTop="8dp"
android:id="@+id/Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -18,6 +20,8 @@
<TextView
android:id="@+id/Rate"
android:paddingLeft="10dp"
android:paddingTop="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"