Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 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:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. tools:context=".MainActivity" >
  9.  
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:orientation="horizontal">
  14.  
  15. <TextView
  16. android:id="@+id/imieTextView"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:text="Imię:" />
  20.  
  21. <EditText
  22. android:id="@+id/imieEditText"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:ems="10"
  26. android:hint="Wpisz imię"
  27. android:inputType="textPersonName" />
  28.  
  29. </LinearLayout>
  30.  
  31. <LinearLayout
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:orientation="horizontal">
  35.  
  36. <TextView
  37. android:id="@+id/nazwiskoTextView"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:text="Nazwisko:" />
  41.  
  42. <EditText
  43. android:id="@+id/nazwiskoEditText"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:ems="10"
  47. android:hint="Wpisz nazwisko"
  48. android:inputType="textPersonName" />
  49. </LinearLayout>
  50.  
  51. <LinearLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:orientation="horizontal">
  55.  
  56. <TextView
  57. android:id="@+id/liczbaOcenTextView"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:text="Liczba ocen:" />
  61.  
  62. <EditText
  63. android:id="@+id/liczbaOcenEditText"
  64. android:layout_width="match_parent"
  65. android:layout_height="wrap_content"
  66. android:ems="10"
  67. android:hint="Wpisz liczbę ocen (5-15)"
  68. android:inputType="textPersonName" />
  69. </LinearLayout>
  70.  
  71. <Button
  72. android:id="@+id/ocenyButton"
  73. android:layout_width="match_parent"
  74. android:layout_height="wrap_content"
  75. android:text="OCENY"
  76. android:visibility="invisible" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement