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).
This commit is contained in:
1 parent
5c52ab91c4
commit
7d7918a50f
8 files changed
+184
-132
No files matched your search
@@ -22,25 +22,23 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutWhen"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
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="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="12dp"
|
||||
android:text="Cuando mostrar:"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinnerHour"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:dropDownWidth="80dp" />
|
||||
@@ -51,26 +49,19 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_weight="0.02"
|
||||
android:text=":"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinnerMinute"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:dropDownWidth="80dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_SaveNotif"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:text="Guardar cambios" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imgBackground"
|
||||
android:layout_width="match_parent"
|
||||
@@ -78,4 +69,4 @@
|
||||
android:contentDescription="background"
|
||||
app:srcCompat="@drawable/opts" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
Reference in new issue
Block a user