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"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:padding="12dp">
|
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"
|
2018-07-27 13:07:33 +00:00
|
|
|
fontPath="@string/circular_std_black"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:padding="6dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:text="@string/action_sleep_timer"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2018-07-27 13:07:33 +00:00
|
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
|
|
android:id="@+id/timer_display"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:paddingStart="6dp"
|
|
|
|
android:paddingTop="8dp"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:paddingEnd="6dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:textAppearance="?android:textAppearanceLarge" />
|
|
|
|
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/seek_arc"
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-10 17:10:43 +00:00
|
|
|
android:gravity="end"
|
|
|
|
android:orientation="horizontal">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/action_cancel"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:text="@android:string/cancel"
|
2018-08-30 09:29:30 +00:00
|
|
|
app:strokeColor="@color/md_grey_700"
|
|
|
|
app:strokeWidth="1dp"
|
|
|
|
tools:visibility="visible" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/action_set"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-30 09:29:30 +00:00
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/action_set"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
app:backgroundTint="@color/md_pink_A400" />
|
2018-08-10 17:10:43 +00:00
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|