2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-10 17:10:43 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="16dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/bannerTitle"
|
2019-03-18 17:46:52 +00:00
|
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-04 15:34:26 +00:00
|
|
|
android:padding="16dp"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:text="@string/new_playlist_title" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/actionNewPlaylistContainer"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-30 09:29:30 +00:00
|
|
|
app:boxBackgroundMode="outline"
|
|
|
|
app:boxCollapsedPaddingTop="16dp"
|
|
|
|
app:boxCornerRadiusBottomEnd="8dp"
|
|
|
|
app:boxCornerRadiusBottomStart="8dp"
|
|
|
|
app:boxCornerRadiusTopEnd="8dp"
|
|
|
|
app:boxCornerRadiusTopStart="8dp"
|
2019-03-18 17:46:52 +00:00
|
|
|
app:boxStrokeColor="?android:attr/textColorPrimary"
|
2018-08-30 09:29:30 +00:00
|
|
|
app:boxStrokeWidth="1dp"
|
|
|
|
app:hintEnabled="true">
|
2018-08-10 17:10:43 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/actionNewPlaylist"
|
2018-08-10 17:10:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:background="@null"
|
2018-08-10 17:10:43 +00:00
|
|
|
android:hint="@string/playlist_name_empty"
|
|
|
|
android:inputType="textPersonName|textCapWords|text"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:padding="16dp" />
|
2018-08-30 09:29:30 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-01-28 10:45:51 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/actionCreate"
|
|
|
|
style="@style/Widget.MaterialComponents.Button"
|
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"
|
2019-01-28 10:45:51 +00:00
|
|
|
android:layout_marginTop="8dp"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_marginEnd="8dp"
|
2019-01-28 10:45:51 +00:00
|
|
|
android:gravity="center_vertical"
|
2019-02-23 20:10:15 +00:00
|
|
|
android:paddingTop="14dp"
|
|
|
|
android:paddingBottom="14dp"
|
2019-01-28 10:45:51 +00:00
|
|
|
android:text="@string/create_action"
|
2019-03-18 17:46:52 +00:00
|
|
|
app:backgroundTint="@color/md_pink_A400"
|
|
|
|
app:icon="@drawable/ic_playlist_add_white_24dp" />
|
2019-01-28 10:45:51 +00:00
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/actionCancel"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-18 17:46:52 +00:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2019-01-28 10:45:51 +00:00
|
|
|
android:gravity="center_vertical"
|
2019-02-23 20:10:15 +00:00
|
|
|
android:paddingTop="14dp"
|
|
|
|
android:paddingBottom="14dp"
|
2019-01-28 10:45:51 +00:00
|
|
|
android:text="@android:string/cancel"
|
2019-03-18 17:46:52 +00:00
|
|
|
app:icon="@drawable/ic_close_white_24dp"
|
2019-01-28 10:45:51 +00:00
|
|
|
app:strokeWidth="2dp" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-10 17:10:43 +00:00
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|