Advertisement
criticaldamage

MainActivity.xml

Jan 4th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="#97C3E7"
  9. tools:context=".MainActivity">
  10.  
  11. <TextView
  12. android:id="@+id/points_tv"
  13. android:layout_width="407dp"
  14. android:layout_height="108dp"
  15. android:shadowColor="#2E2D2D"
  16. android:shadowRadius="10"
  17. android:text="0"
  18. android:textAlignment="center"
  19. android:textColor="#4D4D4D"
  20. android:textSize="100sp"
  21. android:textStyle="bold"
  22. app:layout_constraintBottom_toBottomOf="parent"
  23. app:layout_constraintEnd_toEndOf="parent"
  24. app:layout_constraintHorizontal_bias="0.498"
  25. app:layout_constraintStart_toStartOf="parent"
  26. app:layout_constraintTop_toTopOf="parent"
  27. app:layout_constraintVertical_bias="0.171" />
  28.  
  29. <Button
  30. android:id="@+id/click_button"
  31. android:layout_width="267dp"
  32. android:layout_height="212dp"
  33. android:background="#00FFFFFF"
  34. android:text="🙂"
  35. android:textSize="150sp"
  36. app:layout_constraintBottom_toBottomOf="parent"
  37. app:layout_constraintEnd_toEndOf="parent"
  38. app:layout_constraintStart_toStartOf="parent"
  39. app:layout_constraintTop_toTopOf="parent"
  40. app:layout_constraintVertical_bias="0.645" />
  41.  
  42. <Button
  43. android:id="@+id/buy_boost_button"
  44. android:layout_width="289dp"
  45. android:layout_height="74dp"
  46. android:backgroundTint="#FFE96B"
  47. android:text="x2 boost за 10000 очков"
  48. android:textColor="#4E4E4E"
  49. android:textSize="20sp"
  50. app:layout_constraintBottom_toBottomOf="parent"
  51. app:layout_constraintEnd_toEndOf="parent"
  52. app:layout_constraintHorizontal_bias="0.497"
  53. app:layout_constraintStart_toStartOf="parent"
  54. app:layout_constraintTop_toTopOf="parent"
  55. app:layout_constraintVertical_bias="0.951" />
  56.  
  57. <Button
  58. android:id="@+id/clear_button"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:backgroundTint="#FFE96B"
  62. android:text="Отчистить"
  63. android:textColor="#4E4E4E"
  64. app:layout_constraintBottom_toBottomOf="parent"
  65. app:layout_constraintEnd_toEndOf="parent"
  66. app:layout_constraintHorizontal_bias="0.498"
  67. app:layout_constraintStart_toStartOf="parent"
  68. app:layout_constraintTop_toTopOf="parent"
  69. app:layout_constraintVertical_bias="0.046" />
  70.  
  71.  
  72. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement