Files
FrasesDeAnime/app/src/main/res/layout/activity_opts.xml
T
kprkpr 7d7918a50f UX: guardado automático en Opciones, buscador en selección de animes, flecha Atrás
Opts: spinners reparados (el label match_parent los colapsaba), sin botón Guardar — cada cambio persiste y reprograma la alarma al momento. AnimesSel: buscador arriba, filas de 56dp, fuera botón Volver. Todas las ventanas secundarias con flecha Atrás en el ActionBar (onSupportNavigateUp).
2026-10-12 11:30:39 +02:00

73 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp"
android:orientation="vertical">
<CheckBox
android:id="@+id/chk_alarm"
android:layout_width="match_parent"
android:layout_height="57dp"
android:text="¿Notificar frase diaria?"
android:textAlignment="textStart" />
<CheckBox
android:id="@+id/chk_persistent"
android:layout_width="match_parent"
android:layout_height="57dp"
android:text="¿Quieres que sea persistente?"
android:textAlignment="textStart" />
<LinearLayout
android:id="@+id/layoutWhen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/txt_when"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:text="Cuando mostrar:"
android:textColor="@android:color/black"
android:textSize="18sp" />
<Spinner
android:id="@+id/spinnerHour"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
android:dropDownWidth="80dp" />
<TextView
android:id="@+id/txt_septime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:text=":"
android:textColor="@android:color/black"
android:textSize="18sp" />
<Spinner
android:id="@+id/spinnerMinute"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
android:dropDownWidth="80dp" />
</LinearLayout>
<ImageView
android:id="@+id/imgBackground"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="background"
app:srcCompat="@drawable/opts" />
</LinearLayout>