made it look pretty
This commit is contained in:
parent
8ac71c9cac
commit
ea0e8bd7d1
3 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue