2018-08-30 09:29:30 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 13:07:33 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-08-22 17:54:07 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:background="?attr/colorSurface"
|
2021-09-16 12:50:14 +00:00
|
|
|
android:fitsSystemWindows="true"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/appBarLayout"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_height="wrap_content"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:liftOnScroll="true">
|
2019-11-12 17:32:30 +00:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
style="@style/Toolbar"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black"
|
2019-11-12 17:32:30 +00:00
|
|
|
app:title="@string/action_tag_editor"
|
|
|
|
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal"
|
|
|
|
tools:ignore="UnusedAttribute" />
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-11-12 17:32:30 +00:00
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-18 17:46:52 +00:00
|
|
|
android:id="@+id/songTextContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-12-26 14:35:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:hintEnabled="true">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-07-30 20:20:01 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/songText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/song"
|
|
|
|
android:inputType="text|textCapWords"
|
2019-12-26 14:35:21 +00:00
|
|
|
android:maxLines="1" />
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-18 17:46:52 +00:00
|
|
|
android:id="@+id/albumTextContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:hintEnabled="true">
|
|
|
|
|
2019-07-30 20:20:01 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/albumText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/album"
|
|
|
|
android:inputType="text|textCapWords"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/artistContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:hintEnabled="true">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-06 10:23:03 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/artistText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/artist"
|
|
|
|
android:inputType="text|textCapWords"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/albumArtistContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:hintEnabled="true">
|
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-06 10:23:03 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/albumArtistText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/album_artist"
|
|
|
|
android:inputType="text|textCapWords"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-02-26 16:48:11 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/composerContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2019-02-26 16:48:11 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:hintEnabled="true">
|
2019-02-26 16:48:11 +00:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/songComposerText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/composer"
|
|
|
|
android:inputType="text|textCapWords"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2019-02-26 16:48:11 +00:00
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/genreContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:hintEnabled="true">
|
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-06 10:23:03 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/genreText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/genre"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/yearContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:hintEnabled="true">
|
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-06 10:23:03 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/yearText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/year"
|
|
|
|
android:inputType="text|number"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/trackNumberContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:hintEnabled="true">
|
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-06 10:23:03 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/trackNumberText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/track_hint"
|
|
|
|
android:inputType="text|number"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:maxLines="1" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/lyricsContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:hintEnabled="true">
|
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-06 10:23:03 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/lyricsText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/lyrics"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:maxLines="15" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-08-01 08:27:05 +00:00
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="52dp" />
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-08-01 08:27:05 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2019-03-25 12:43:43 +00:00
|
|
|
android:id="@+id/saveTags"
|
2019-08-01 08:27:05 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-08-01 08:27:05 +00:00
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:gravity="center"
|
2019-08-01 08:27:05 +00:00
|
|
|
android:paddingStart="32dp"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingEnd="32dp"
|
|
|
|
android:paddingBottom="12dp"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:text="@string/save"
|
2019-08-01 08:27:05 +00:00
|
|
|
app:cornerRadius="25dp"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:icon="@drawable/ic_save"
|
2019-12-01 11:28:57 +00:00
|
|
|
app:iconGravity="textStart" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|