Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="horizontal" android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5.  
  6. <RadioGroup
  7. android:id="@+id/radiogroup"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="horizontal">
  11.  
  12. <TextView
  13. android:id="@+id/nazwa"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_weight="1"
  17. android:text="Ocena" />
  18.  
  19. <RadioButton
  20. android:id="@+id/radio2"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_weight="1"
  24. android:checked="true"
  25. android:text="2" />
  26.  
  27. <RadioButton
  28. android:id="@+id/radio3"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_weight="1"
  32. android:text="3" />
  33.  
  34. <RadioButton
  35. android:id="@+id/radio4"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_weight="1"
  39. android:text="4" />
  40.  
  41. <RadioButton
  42. android:id="@+id/radio5"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_weight="1"
  46. android:text="5" />
  47. </RadioGroup>
  48. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement