made it look pretty
This commit is contained in:
		
							parent
							
								
									e14c3bd0b3
								
							
						
					
					
						commit
						3fe77feeb5
					
				
					 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) { |                     public void onClick(DialogInterface dialog, int id) { | ||||||
|                         Bundle args = new Bundle(); |                         Bundle args = new Bundle(); | ||||||
|                         //@anshu: get the name and rate to come from the dialog_service_new dialog |                         //@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); |                         args.putDouble("rate", 2.5); | ||||||
|                         /// |                         /// | ||||||
|                         NewServiceDialogFragment.this.setArguments(args); |                         NewServiceDialogFragment.this.setArguments(args); | ||||||
|  |  | ||||||
|  | @ -15,7 +15,7 @@ | ||||||
|     <TextView |     <TextView | ||||||
|         android:id="@+id/Welcome" |         android:id="@+id/Welcome" | ||||||
|         android:layout_width="300dp" |         android:layout_width="300dp" | ||||||
|         android:layout_height="80dp" |         android:layout_height="wrap_content" | ||||||
|         android:layout_marginBottom="20dp" |         android:layout_marginBottom="20dp" | ||||||
|         android:gravity="center" |         android:gravity="center" | ||||||
|         android:text="List of Services" |         android:text="List of Services" | ||||||
|  | @ -64,7 +64,7 @@ | ||||||
|             android:id="@+id/Services" |             android:id="@+id/Services" | ||||||
|             android:scrollbars="vertical" |             android:scrollbars="vertical" | ||||||
|             android:layout_width="match_parent" |             android:layout_width="match_parent" | ||||||
|             android:layout_height="match_parent"/> |             android:layout_height="250dp"/> | ||||||
| 
 | 
 | ||||||
|     </LinearLayout> |     </LinearLayout> | ||||||
|     <Button |     <Button | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     <TextView |     <TextView | ||||||
|  |         android:paddingLeft="10dp" | ||||||
|  |         android:paddingTop="8dp" | ||||||
|         android:id="@+id/Name" |         android:id="@+id/Name" | ||||||
|         android:layout_width="wrap_content" |         android:layout_width="wrap_content" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|  | @ -18,6 +20,8 @@ | ||||||
| 
 | 
 | ||||||
|     <TextView |     <TextView | ||||||
|         android:id="@+id/Rate" |         android:id="@+id/Rate" | ||||||
|  |         android:paddingLeft="10dp" | ||||||
|  |         android:paddingTop="8dp" | ||||||
|         android:layout_width="wrap_content" |         android:layout_width="wrap_content" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|         android:layout_weight="1" |         android:layout_weight="1" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue