nafiefn_10

Untitled

Apr 17th, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 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:padding="@dimen/activity_vertical_margin"
  8. android:orientation="vertical"
  9. tools:context=".MainActivity">
  10.  
  11. <TextView
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:paddingTop="@dimen/activity_horizontal_margin"
  15. android:textSize="18sp"
  16. android:text="Siapa Nama Anda?" />
  17. <EditText
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:paddingBottom="@dimen/default_margin"
  21. android:textColor="@color/black"
  22. android:backgroundTint="@color/red"
  23. android:hint="Masukkan Nama Anda Disini" />
  24. <TextView
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:paddingBottom="@dimen/default_margin"
  28. android:textSize="18sp"
  29. android:text="Bagaimana Perasaan Anda Hari Ini?" />
  30. <RadioGroup
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content" >
  33. <RadioButton
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:text="Bagus :)"
  37. android:textColor="@color/green" />
  38. <RadioButton
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:text="Kesal :("
  42. android:textColor="@color/orange" />
  43. <RadioButton
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:text="Sedih :'("
  47. android:textColor="@color/red" />
  48. </RadioGroup>
  49.  
  50. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment