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

71 lines
2.8 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-03-18 17:46:52 +00:00
android:paddingBottom="16dp">
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
2018-08-30 09:29:30 +00:00
android:id="@+id/title"
2019-03-18 17:46:52 +00:00
style="@style/TextAppearance.MaterialComponents.Headline6"
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:padding="16dp"
android:text="@string/action_sleep_timer" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-12-06 10:23:03 +00:00
android:id="@+id/timerDisplay"
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-11-13 03:30:08 +00:00
android:padding="12dp"
2018-07-27 13:07:33 +00:00
android:textAppearance="?android:textAppearanceLarge" />
2019-02-17 17:01:35 +00:00
<androidx.appcompat.widget.AppCompatSeekBar
2018-12-06 10:23:03 +00:00
android:id="@+id/seekBar"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="3dp"
2018-08-30 09:29:30 +00:00
android:paddingTop="12dp"
2018-07-27 13:07:33 +00:00
android:progressDrawable="@drawable/color_progress_seek"
android:splitTrack="false"
android:thumb="@drawable/switch_thumb_material"
tools:progress="20" />
2019-01-28 10:45:51 +00:00
<com.google.android.material.button.MaterialButton
android:id="@+id/actionSet"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-01-28 10:45:51 +00:00
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:gravity="center_vertical"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:text="@string/action_set"
android:textColor="@color/md_white_1000"
app:backgroundTint="@color/md_pink_A400" />
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/actionCancel"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:gravity="center_vertical"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:text="@android:string/cancel"
app:strokeWidth="2dp"
tools:visibility="visible" />
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>
</FrameLayout>