<?xml version="1.0" encoding="utf-8"?><!-- ~ Copyright (C) 2022 Lukas Eisenhauer ~ ~ 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. ~ ~ 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. ~ ~ You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" tools:context=".ui.fragments.EffectFragment"> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="16dp" android:layout_marginBottom="16dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" android:padding="16dp"> <SeekBar android:id="@+id/influenceSeekBar" android:layout_width="0dp" android:layout_height="40dp" android:layout_marginTop="8dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@+id/effectName" app:layout_constraintTop_toBottomOf="@+id/activeButton" /> <TextView android:id="@+id/influenceText" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/placeholder" app:layout_constraintBottom_toBottomOf="@+id/influenceSeekBar" app:layout_constraintEnd_toEndOf="@+id/parameter1Text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/influenceSeekBar" /> <TextView android:id="@+id/effectName" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/placeholder" android:textSize="16sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <SeekBar android:id="@+id/parameter1SeekBar" android:layout_width="0dp" android:layout_height="40dp" android:layout_marginTop="16dp" app:layout_constraintEnd_toEndOf="@+id/influenceSeekBar" app:layout_constraintStart_toStartOf="@+id/influenceSeekBar" app:layout_constraintTop_toBottomOf="@+id/influenceSeekBar" /> <TextView android:id="@+id/parameter1Text" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginEnd="16dp" android:text="@string/placeholder" app:layout_constraintBottom_toBottomOf="@+id/parameter1SeekBar" app:layout_constraintEnd_toStartOf="@+id/parameter1SeekBar" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/parameter1SeekBar" app:layout_constraintVertical_bias="0.0" /> <Button android:id="@+id/activeButton" android:layout_width="65dp" android:layout_height="48dp" app:layout_constraintEnd_toEndOf="@+id/influenceSeekBar" app:layout_constraintTop_toTopOf="@+id/effectName" /> </androidx.constraintlayout.widget.ConstraintLayout> </androidx.cardview.widget.CardView> </androidx.constraintlayout.widget.ConstraintLayout>