Advertisement
TobNil

Untitled

May 29th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:id="@+id/activity_my_fridge"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:paddingBottom="@dimen/activity_vertical_margin"
  8. android:paddingLeft="@dimen/activity_horizontal_margin"
  9. android:paddingRight="@dimen/activity_horizontal_margin"
  10. android:paddingTop="@dimen/activity_vertical_margin"
  11. tools:context="se.gu.ait.tig167_recept_app.UserInterface.MyFridge"
  12. android:orientation="vertical">
  13.  
  14. <ListView
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:layout_marginTop="20dp"
  18. android:layout_marginBottom="250dp"
  19. android:id="@+id/listView_myfridge"
  20. android:choiceMode="singleChoice" />
  21.  
  22. <Button
  23. android:text="Remove Ingredient"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:id="@+id/button_remove" />
  27.  
  28.  
  29. <EditText
  30. android:hint="Name of ingredient"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:inputType="text"
  34. android:ems="10"
  35. android:id="@+id/editText_Ingredient" />
  36.  
  37. <Button
  38. android:text="Add Ingredient"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:id="@+id/button_add" />
  42.  
  43. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement