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

94 lines
3.9 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"
android:background="@android:color/transparent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
fontPath="@string/circular_std_black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="12dp"
android:text="@string/action_sleep_timer"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
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-10 17:10:43 +00:00
android:paddingStart="12dp"
android:paddingEnd="12dp"
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"
android:padding="16dp"
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-10 17:10:43 +00:00
<android.support.v7.widget.CardView
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-08-10 17:10:43 +00:00
android:layout_gravity="end|bottom"
app:cardBackgroundColor="@color/md_green_A700"
app:cardCornerRadius="6dp"
app:cardUseCompatPadding="true">
2018-07-27 13:07:33 +00:00
2018-08-10 17:10:43 +00:00
<TextView
android:id="@+id/action_set"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:paddingStart="28dp"
android:paddingTop="12dp"
android:paddingEnd="28dp"
android:paddingBottom="12dp"
android:text="@string/action_set"
android:textColor="@color/md_white_1000" />
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView
2018-07-27 13:07:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-08-10 17:10:43 +00:00
android:layout_gravity="end|bottom"
app:cardBackgroundColor="@color/md_red_A400"
app:cardCornerRadius="6dp"
2018-08-22 17:54:07 +00:00
android:id="@+id/action_cancel_container"
2018-08-10 17:10:43 +00:00
app:cardUseCompatPadding="true">
<TextView
android:id="@+id/action_cancel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:paddingStart="28dp"
android:paddingTop="12dp"
android:paddingEnd="28dp"
android:paddingBottom="12dp"
android:text="@string/cancel_current_timer"
android:textColor="@color/md_white_1000" />
</android.support.v7.widget.CardView>
2018-07-27 13:07:33 +00:00
</LinearLayout>
</LinearLayout>
</FrameLayout>