PlayerAndroid/app/src/main/res/layout/dialog_playlist.xml

70 lines
2.9 KiB
XML
Raw Normal View History

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"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
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: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
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:orientation="horizontal">
2018-07-27 13:07:33 +00:00
<com.google.android.material.button.MaterialButton
android:id="@+id/actionCancel"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:paddingStart="24dp"
android:paddingTop="12dp"
android:paddingEnd="24dp"
android:paddingBottom="12dp"
android:text="@android:string/cancel"
app:icon="@drawable/ic_close_white_24dp"
app:strokeWidth="2dp" />
2018-08-10 17:10:43 +00:00
<com.google.android.material.button.MaterialButton
android:id="@+id/actionCreate"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:paddingStart="24dp"
android:paddingTop="12dp"
android:paddingEnd="24dp"
android:paddingBottom="12dp"
android:text="@string/create_action"
app:backgroundTint="@color/md_pink_A400"
app:icon="@drawable/ic_playlist_add_white_24dp" />
</LinearLayout>
2018-07-27 13:07:33 +00:00
</LinearLayout>