Newer
Older
music / app / src / main / res / layout / fragment_edit_envelope.xml
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. ~ Copyright (C) 2022 Lukas Eisenhauer
  3. ~
  4. ~ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.
  5. ~
  6. ~ This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  7. ~
  8. ~ You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
  9. -->
  10.  
  11. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  12. xmlns:app="http://schemas.android.com/apk/res-auto"
  13. xmlns:tools="http://schemas.android.com/tools"
  14. android:id="@+id/frameLayout2"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. tools:context=".ui.fragments.EditVoiceFragment">
  18.  
  19. <TextView
  20. android:id="@+id/releaseText"
  21. android:layout_width="0dp"
  22. android:layout_height="wrap_content"
  23. android:layout_marginStart="16dp"
  24. android:layout_marginEnd="16dp"
  25. android:text="@string/placeholder"
  26. app:layout_constraintBottom_toBottomOf="@+id/releaseSeek"
  27. app:layout_constraintEnd_toStartOf="@+id/releaseSeek"
  28. app:layout_constraintStart_toStartOf="parent"
  29. app:layout_constraintTop_toTopOf="@+id/releaseSeek" />
  30.  
  31. <SeekBar
  32. android:id="@+id/releaseSeek"
  33. android:layout_width="247dp"
  34. android:layout_height="0dp"
  35. android:layout_marginTop="32dp"
  36. android:layout_marginEnd="16dp"
  37. app:layout_constraintEnd_toEndOf="parent"
  38. app:layout_constraintStart_toStartOf="@+id/sustainSeek"
  39. app:layout_constraintTop_toBottomOf="@+id/sustainSeek" />
  40.  
  41. <TextView
  42. android:id="@+id/sustainText"
  43. android:layout_width="0dp"
  44. android:layout_height="wrap_content"
  45. android:layout_marginStart="16dp"
  46. android:layout_marginEnd="16dp"
  47. android:text="@string/placeholder"
  48. app:layout_constraintBottom_toBottomOf="@+id/sustainSeek"
  49. app:layout_constraintEnd_toStartOf="@+id/sustainSeek"
  50. app:layout_constraintStart_toStartOf="parent"
  51. app:layout_constraintTop_toTopOf="@+id/sustainSeek" />
  52.  
  53. <SeekBar
  54. android:id="@+id/sustainSeek"
  55. android:layout_width="0dp"
  56. android:layout_height="wrap_content"
  57. android:layout_marginTop="32dp"
  58. android:layout_marginEnd="16dp"
  59. app:layout_constraintEnd_toEndOf="parent"
  60. app:layout_constraintStart_toStartOf="@+id/delaySeek"
  61. app:layout_constraintTop_toBottomOf="@+id/delaySeek" />
  62.  
  63. <TextView
  64. android:id="@+id/delayText"
  65. android:layout_width="0dp"
  66. android:layout_height="wrap_content"
  67. android:layout_marginStart="16dp"
  68. android:layout_marginEnd="16dp"
  69. android:text="@string/placeholder"
  70. app:layout_constraintBottom_toBottomOf="@+id/delaySeek"
  71. app:layout_constraintEnd_toStartOf="@+id/delaySeek"
  72. app:layout_constraintStart_toStartOf="parent"
  73. app:layout_constraintTop_toTopOf="@+id/delaySeek" />
  74.  
  75. <SeekBar
  76. android:id="@+id/delaySeek"
  77. android:layout_width="0dp"
  78. android:layout_height="wrap_content"
  79. android:layout_marginTop="32dp"
  80. android:layout_marginEnd="16dp"
  81. app:layout_constraintEnd_toEndOf="parent"
  82. app:layout_constraintStart_toStartOf="@+id/attackSeek"
  83. app:layout_constraintTop_toBottomOf="@id/attackSeek" />
  84.  
  85. <TextView
  86. android:id="@+id/textView8"
  87. android:layout_width="wrap_content"
  88. android:layout_height="wrap_content"
  89. android:layout_marginStart="16dp"
  90. android:layout_marginTop="16dp"
  91. android:layout_marginEnd="16dp"
  92. android:text="@string/edit_envelope"
  93. android:textAlignment="center"
  94. android:textSize="20sp"
  95. app:layout_constraintEnd_toEndOf="parent"
  96. app:layout_constraintStart_toStartOf="parent"
  97. app:layout_constraintTop_toTopOf="parent" />
  98.  
  99. <com.google.android.material.floatingactionbutton.FloatingActionButton
  100. android:id="@+id/closeButton"
  101. android:layout_width="wrap_content"
  102. android:layout_height="wrap_content"
  103. android:layout_marginTop="32dp"
  104. android:layout_marginBottom="32dp"
  105. android:clickable="true"
  106. android:contentDescription="@string/close"
  107. android:src="@android:drawable/ic_menu_close_clear_cancel"
  108. app:layout_constraintBottom_toBottomOf="parent"
  109. app:layout_constraintEnd_toEndOf="parent"
  110. app:layout_constraintStart_toStartOf="parent"
  111. app:layout_constraintTop_toBottomOf="@+id/releaseSeek" />
  112.  
  113. <TextView
  114. android:id="@+id/attackText"
  115. android:layout_width="0dp"
  116. android:layout_height="wrap_content"
  117. android:layout_marginStart="16dp"
  118. android:layout_marginEnd="16dp"
  119. android:text="@string/placeholder"
  120. app:layout_constraintBottom_toBottomOf="@+id/attackSeek"
  121. app:layout_constraintEnd_toStartOf="@+id/attackSeek"
  122. app:layout_constraintStart_toStartOf="parent"
  123. app:layout_constraintTop_toTopOf="@+id/attackSeek" />
  124.  
  125. <SeekBar
  126. android:id="@+id/attackSeek"
  127. android:layout_width="0dp"
  128. android:layout_height="wrap_content"
  129. android:layout_marginTop="32dp"
  130. android:layout_marginEnd="16dp"
  131. app:layout_constraintEnd_toEndOf="parent"
  132. app:layout_constraintStart_toStartOf="@+id/textView8"
  133. app:layout_constraintTop_toBottomOf="@+id/textView8" />
  134.  
  135. </androidx.constraintlayout.widget.ConstraintLayout>