118 lines
No EOL
4.3 KiB
XML
118 lines
No EOL
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:text="@string/configure" />
|
|
|
|
<Button
|
|
android:id="@+id/topBackgroundButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-31dp"
|
|
android:layout_marginEnd="-31dp"
|
|
android:background="@drawable/ui_bg"
|
|
android:backgroundTint="?attr/colorSecondary"
|
|
android:backgroundTintMode="src_atop"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:paddingStart="31dp"
|
|
android:paddingEnd="31dp"
|
|
android:text="@string/top_background_color"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_color_picker_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<Button
|
|
android:id="@+id/bottomBackgroundButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-31dp"
|
|
android:layout_marginEnd="-31dp"
|
|
android:background="@drawable/ui_bg"
|
|
android:backgroundTint="?attr/colorSecondary"
|
|
android:backgroundTintMode="src_atop"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:paddingStart="31dp"
|
|
android:paddingEnd="31dp"
|
|
android:text="@string/bottom_background_color"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_color_picker_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<Button
|
|
android:id="@+id/titleColorButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-31dp"
|
|
android:layout_marginEnd="-31dp"
|
|
android:background="@drawable/ui_bg"
|
|
android:backgroundTint="?attr/colorSecondary"
|
|
android:backgroundTintMode="src_atop"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:paddingStart="31dp"
|
|
android:paddingEnd="31dp"
|
|
android:text="@string/title_color"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_color_picker_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<Button
|
|
android:id="@+id/countdownColorButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginStart="-31dp"
|
|
android:layout_marginEnd="-31dp"
|
|
android:background="@drawable/ui_bg"
|
|
android:backgroundTint="?attr/colorSecondary"
|
|
android:backgroundTintMode="src_atop"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:paddingStart="31dp"
|
|
android:paddingEnd="31dp"
|
|
android:text="@string/countdown_text_color"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:cornerRadius="0dp"
|
|
app:icon="@drawable/ic_round_color_picker_24"
|
|
app:iconPadding="16dp"
|
|
app:iconSize="24dp"
|
|
app:iconTint="?attr/colorPrimary" />
|
|
|
|
<Button
|
|
android:id="@+id/add_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/add_widget" />
|
|
|
|
</LinearLayout> |