|
|
@@ -1,59 +1,72 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<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:id="@+id/voice_note_fragment"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:fitsSystemWindows="true"
|
|
|
- android:scrollbarStyle="insideOverlay"
|
|
|
- tools:context="com.sduduzog.slimlauncher.ui.notes.EditNoteFragment">
|
|
|
+ tools:context="com.sduduzog.slimlauncher.ui.notes.VoiceNoteFragment">
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:id="@+id/voice_note_fragment_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/edit_note_fragment_title"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:background="@android:color/transparent"
|
|
|
- android:hint="@string/edit_note_fragment_untitled"
|
|
|
- android:inputType="textCapSentences"
|
|
|
- android:padding="12dp"
|
|
|
- android:singleLine="true"
|
|
|
- android:textSize="18sp"
|
|
|
- app:layout_constraintEnd_toStartOf="@+id/edit_note_fragment_save"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:ignore="Autofill,TextFields" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/voice_note_fragment_title"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="@android:color/transparent"
|
|
|
+ android:hint="@string/edit_note_fragment_untitled"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:textSize="18sp"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/voice_note_fragment_save"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/edit_note_fragment_save"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:layout_marginRight="16dp"
|
|
|
- android:padding="12dp"
|
|
|
- android:text="@string/edit_note_fragment_save"
|
|
|
- android:textSize="18sp"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/voice_note_fragment_save"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:text="SHARE"
|
|
|
+ android:textSize="18sp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/edit_note_fragment_body"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:imeOptions="normal"
|
|
|
- android:inputType="textMultiLine|textCapSentences"
|
|
|
- android:padding="12dp"
|
|
|
- android:textSize="14sp"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/edit_note_fragment_title"
|
|
|
- tools:ignore="Autofill,LabelFor" />
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
-</ScrollView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/voice_note_fragment_body"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/voice_note_fragment_title" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="00:00"
|
|
|
+ android:textSize="38sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/seekBar"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
+ android:layout_marginBottom="64dp"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent" />
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|