UI: rediseño de las 4 pantallas (header propio, cards, bottom nav Inicio/Favoritos/Opciones, banner adaptativo)

This commit is contained in:
kprkpr committed 2026-10-21 13:15:45 +00:00
1 parent b25be4cfcd
commit 8fdda5c701
9 files changed
+752 -156

No files matched your search

+3 -3
View File
@@ -21,9 +21,9 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".OptsActivity" android:label="Opciones" android:exported="false"/>
<activity android:name=".FavsActivity" android:label="Favoritos" android:exported="false"/>
<activity android:name=".AboutOfActivity" android:label="Acerca de" android:exported="false"/>
<activity android:name=".OptsActivity" android:label="@string/nav_opciones" android:exported="false"/>
<activity android:name=".FavsActivity" android:label="@string/nav_favoritos" android:exported="false"/>
<activity android:name=".AboutOfActivity" android:label="@string/aboutOf" android:exported="false"/>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="@string/admob_launch_api"/>
+78 -7
View File
@@ -1,17 +1,88 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Acerca de rediseñado: header con volver + card de créditos -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/cerebro"
android:background="@color/bgMain"
android:orientation="vertical">
<!-- Header con botón volver -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/bgCard"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingEnd="20dp">
<ImageButton
android:id="@+id/btn_back"
android:layout_width="44dp"
android:layout_height="44dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/back"
android:scaleType="centerInside"
app:srcCompat="@drawable/ic_chevron_left"
app:tint="@color/textPrimary" />
<TextView
android:id="@+id/textStart"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="@string/aboutOf"
android:textColor="@color/textPrimary"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/borderColor" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical"
android:padding="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text='Programado por JKA Network.\n\nLicencias\nRoboto Calendar View - Apache 2.0'
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="18sp" />
android:background="@drawable/bg_card"
android:orientation="vertical"
android:padding="20dp">
<ImageView
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="center"
android:contentDescription="@null"
android:src="@drawable/cerebro" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center"
android:text="@string/about_text"
android:textColor="@color/textPrimary"
android:textSize="15sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center"
android:text="@string/about_licenses"
android:textColor="@color/colorTextMuted"
android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
+111 -6
View File
@@ -1,10 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Favoritos rediseñado (mockup SVG): header + búsqueda + cards.
Long-press en card: copiar/compartir/borrar. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:id="@+id/listSentences"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_root"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
android:background="@color/bgMain"
android:orientation="vertical">
<!-- Header -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/bgCard"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nav_favoritos"
android:textColor="@color/textPrimary"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/borderColor" />
<!-- Contenido -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingTop="15dp">
<!-- Búsqueda -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="42dp"
android:background="@drawable/bg_pill"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="12dp"
android:paddingEnd="12dp">
<ImageView
android:layout_width="18dp"
android:layout_height="18dp"
android:contentDescription="@null"
android:src="@drawable/ic_search"
app:tint="@color/colorTextMuted" />
<EditText
android:id="@+id/search_input"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:background="@null"
android:hint="@string/buscar_favoritos"
android:imeOptions="actionSearch"
android:importantForAutofill="no"
android:inputType="text"
android:maxLines="1"
android:singleLine="true"
android:textColor="@color/textPrimary"
android:textColorHint="@color/colorTextMuted"
android:textSize="14sp" />
</LinearLayout>
<!-- Lista de cards -->
<ListView
android:id="@+id/view_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="12dp"
android:layout_weight="1"
android:divider="@null"
android:dividerHeight="12dp"
android:paddingBottom="12dp"
android:scrollbars="none" />
<!-- Estado vacío -->
<TextView
android:id="@+id/empty_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center"
android:text="@string/lista_vacia"
android:textColor="@color/colorTextMuted"
android:textSize="14sp" />
</LinearLayout>
<!-- Banner AdMob (AdView por código en loadBannerAd) -->
<FrameLayout
android:id="@+id/adContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<!-- Barra de navegación inferior -->
<include
android:id="@+id/bottom_nav"
layout="@layout/view_bottom_nav" />
</LinearLayout>
+151 -69
View File
@@ -1,100 +1,182 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<!-- Rediseño 2026-10 (mockup SVG): header + píldora de fecha + tarjeta de frase
+ botón CAMBIAR FRASE (rewarded) + tarjeta de calendario. Sin ActionBar
(ocultada en código). Banner adaptativo al final, sin solape. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:ads="http://schemas.android.com/apk/res-auto">
android:background="@color/bgMain"
android:orientation="vertical">
<!-- ============ HEADER (título) ============ -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/bgCard"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="12dp">
<TextView
android:id="@+id/txt_frasetitle"
android:layout_width="match_parent"
android:layout_height="24dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginTop="10dp"
android:text="@string/txt_todaysentence"
android:textAlignment="center"
android:textColor="@android:color/black"
android:textSize="18sp" />
<TextView
android:id="@+id/txt_frasetext"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/txt_frasetitle"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:layout_marginTop="8dp"
android:text="(Aqui la frase)"
android:textAlignment="center"
android:textColor="@android:color/black"
android:textSize="18sp" />
android:layout_weight="1"
android:text="@string/app_name"
android:textColor="@color/textPrimary"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/borderColor" />
<!-- ============ CONTENIDO ============ -->
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clipToPadding="false"
android:fillViewport="true"
android:scrollbars="none">
<LinearLayout
android:id="@+id/buttonLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingTop="16dp"
android:paddingBottom="12dp">
<!-- Píldora de fecha -->
<TextView
android:id="@+id/txt_date"
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_below="@+id/txt_frasetext"
android:layout_marginLeft="48dp"
android:layout_marginRight="42dp"
android:background="@drawable/bg_pill"
android:gravity="center"
android:text="Fecha"
android:textColor="@color/colorTextSecondary"
android:textSize="14sp" />
<!-- Tarjeta principal: frase + divisor + favorito/compartir/autor -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="14dp"
android:background="@drawable/bg_card"
android:minHeight="230dp"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/txt_sentence"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fadeScrollbars="true"
android:gravity="center"
android:minHeight="140dp"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:scrollbarStyle="insideOverlay"
android:scrollbars="vertical"
android:text="(Aquí la frase)"
android:textColor="@color/textPrimary"
android:textSize="16sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="14dp"
android:background="@color/borderColor" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageButton
android:id="@+id/btnFav"
android:layout_width="36dp"
android:layout_height="match_parent"
android:layout_marginLeft="12dp"
android:background="@drawable/star_on"
android:contentDescription="Favorite button"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/star_off"
android:contentDescription="@string/favorites"
android:scaleType="centerInside" />
<ImageButton
android:id="@+id/btnShare"
android:layout_width="58dp"
android:layout_height="match_parent"
android:layout_marginLeft="8dp"
android:background="@null"
android:contentDescription="Share button"
android:paddingTop="2dp"
app:srcCompat="@android:drawable/ic_menu_share" />
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginStart="12dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/compartir"
android:scaleType="centerInside"
app:srcCompat="@drawable/ic_share"
app:tint="@color/colorTextSecondary" />
<TextView
android:id="@+id/txt_fraseautor"
android:layout_width="match_parent"
android:layout_height="20dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_gravity="top"
android:layout_marginTop="8dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="end"
android:text="(Aqui autor)"
android:textColor="#222" />
android:paddingStart="12dp"
android:text="(Aquí autor)"
android:textColor="@color/textPrimary"
android:textSize="16sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
<!-- Botón CAMBIAR FRASE (rewarded) -->
<TextView
android:id="@+id/btn_change"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="12dp"
android:background="@drawable/bg_accent"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:text="@string/btn_change"
android:textColor="@android:color/white"
android:textSize="14sp"
android:textStyle="bold" />
<!-- Tarjeta de calendario -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:background="@drawable/bg_card"
android:orientation="vertical"
android:padding="12dp">
<com.marcohc.robotocalendar.RobotoCalendarView
android:id="@+id/calendarPicker"
android:layout_width="match_parent"
android:layout_height="310dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/buttonLayout"
android:layout_marginTop="13dp" />
android:layout_height="300dp" />
</LinearLayout>
<com.google.android.gms.ads.AdView
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="@string/banner_ad_unit_id">
</com.google.android.gms.ads.AdView>
</LinearLayout>
</ScrollView>
</RelativeLayout>
<!-- Banner AdMob (AdView por código en loadBannerAd) -->
<FrameLayout
android:id="@+id/adContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<!-- Barra de navegación inferior -->
<include
android:id="@+id/bottom_nav"
layout="@layout/view_bottom_nav" />
</LinearLayout>
+229 -63
View File
@@ -1,82 +1,248 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Opciones rediseñadas (mockup SVG): cards de ajustes con título+descripción
+ card Acerca de. Guardado automático (sin botón Guardar): TimePicker para
la hora. Banner + barra inferior al final. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp"
android:orientation="vertical"
android:background="#EBEBEB">
android:background="@color/bgMain"
android:orientation="vertical">
<!-- Header -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/bgCard"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nav_opciones"
android:textColor="@color/textPrimary"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/borderColor" />
<!-- Contenido -->
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingTop="15dp"
android:paddingBottom="12dp"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- Notificación diaria -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_card"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="16dp">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@null"
android:src="@drawable/ic_bell"
app:tint="@color/accent" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="14dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/opts_notif_title"
android:textColor="@color/textPrimary"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="@string/opts_notif_desc"
android:textColor="@color/colorTextMuted"
android:textSize="12sp" />
</LinearLayout>
<CheckBox
android:id="@+id/chk_alarm"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<!-- Notificación persistente -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="57dp"
android:text="¿Notificar frase diaria?"
android:textAlignment="textStart" />
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:background="@drawable/bg_card"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="16dp">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@null"
android:src="@drawable/ic_bell"
app:tint="@color/accent" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="14dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/opts_pers_title"
android:textColor="@color/textPrimary"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="@string/opts_pers_desc"
android:textColor="@color/colorTextMuted"
android:textSize="12sp" />
</LinearLayout>
<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="wrap_content"
android:layout_height="48dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginRight="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_height="48dp"
android:layout_weight="1"
android:dropDownWidth="80dp" />
<TextView
android:id="@+id/txtseptime"
android:layout_width="wrap_content"
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_height="48dp"
android:layout_weight="1"
android:dropDownWidth="80dp" />
android:layout_height="wrap_content" />
</LinearLayout>
<Button
android:id="@+id/btnSaveNotif"
android:layout_width="match_parent"
android:layout_height="48dp"
android:text="Guardar cambios" />
<ImageView
android:id="@+id/imageView"
<!-- Hora de la notificación: TimePicker al pulsar, hora en gris -->
<LinearLayout
android:id="@+id/card_hora"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:srcCompat="@drawable/fondo_opts" />
android:layout_marginTop="12dp"
android:background="@drawable/bg_card"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="16dp">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@null"
android:src="@drawable/ic_clock"
app:tint="@color/accent" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="14dp"
android:layout_weight="1"
android:text="@string/opts_hora_title"
android:textColor="@color/textPrimary"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:id="@+id/txt_hora"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="8:00"
android:textColor="@color/colorTextMuted"
android:textSize="14sp" />
<ImageView
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_marginStart="10dp"
android:contentDescription="@null"
android:src="@drawable/ic_chevron_right"
app:tint="@color/colorTextMuted" />
</LinearLayout>
<!-- Acerca de -->
<LinearLayout
android:id="@+id/card_about"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:background="@drawable/bg_card"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="16dp">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@null"
android:src="@drawable/ic_info"
app:tint="@color/accent" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="14dp"
android:layout_weight="1"
android:text="@string/opts_about_title"
android:textColor="@color/textPrimary"
android:textSize="15sp"
android:textStyle="bold" />
<ImageView
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_marginStart="10dp"
android:contentDescription="@null"
android:src="@drawable/ic_chevron_right"
app:tint="@color/colorTextMuted" />
</LinearLayout>
</LinearLayout>
</ScrollView>
<!-- Banner AdMob (AdView por código en loadBannerAd) -->
<FrameLayout
android:id="@+id/adContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<!-- Barra de navegación inferior -->
<include
android:id="@+id/bottom_nav"
layout="@layout/view_bottom_nav" />
</LinearLayout>
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Card de frase para Favoritos (mockup SVG): autor en accent + estrella -->
<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="wrap_content"
android:background="@drawable/bg_card"
android:orientation="vertical"
android:padding="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/card_autor"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:singleLine="true"
android:text="Autor"
android:textColor="@color/accent"
android:textSize="13sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/card_star"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginStart="8dp"
android:contentDescription="@string/delfav"
android:src="@drawable/ic_nav_star"
app:tint="@color/star" />
</LinearLayout>
<TextView
android:id="@+id/card_sentence"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:ellipsize="end"
android:maxLines="3"
android:text="Frase"
android:textColor="@color/textPrimary"
android:textSize="14sp" />
</LinearLayout>
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Barra de navegación inferior compartida (Inicio/Favoritos/Opciones).
La pestaña activa se marca desde código (MainActivity.setupBottomNav)
tintando icono+texto en accent. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/bottom_nav"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/bgCard"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/nav_inicio"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:contentDescription="@null"
android:src="@drawable/ic_home"
app:tint="@color/colorTextMuted" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="@string/nav_inicio"
android:textColor="@color/colorTextMuted"
android:textSize="10sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/nav_favoritos"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:contentDescription="@null"
android:src="@drawable/ic_nav_star"
app:tint="@color/colorTextMuted" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="@string/nav_favoritos"
android:textColor="@color/colorTextMuted"
android:textSize="10sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/nav_opciones"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:contentDescription="@null"
android:src="@drawable/ic_settings"
app:tint="@color/colorTextMuted" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="@string/nav_opciones"
android:textColor="@color/colorTextMuted"
android:textSize="10sp" />
</LinearLayout>
</LinearLayout>
+4 -5
View File
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/copy"
android:title="Copiar" />
android:title="@string/copiar" />
<item android:id="@+id/delfav"
android:title="Borrar de los favoritos" />
android:title="@string/delfav" />
<item android:id="@+id/share"
android:title="Compartir" />
android:title="@string/compartir" />
</menu>
+32 -3
View File
@@ -1,19 +1,48 @@
<resources>
<string name="app_name">Calendario de frases</string>
<string name="txt_todaysentence">Frase del día</string>
<string name="exit">Salir</string>
<string name="favorites">Favoritos</string>
<string name="options">Opciones</string>
<string name="aboutOf">Acerca de</string>
<string name="sharefrom"> -A través de Calendario de Frases, consíguela aquí https://play.google.com/store/apps/details?id=com.jkanetwork.st.calendariodefrases -</string>
<string name="channel_name">Frase del día</string>
<string name="channel_desc">Notificación diaria con la frase del día</string>
<string name="notif_title">Frase de hoy:</string>
<string name="welcome_title">Bienvenido</string>
<string name="welcome_text">Bienvenidos a Calendario de Frases, donde cada día disfrutarás de una nueva cita celebre o de un nuevo refrán que podrás guardar o compartir con tus amigos.\nAdemás, podrás poner una notificación para que te avise de la frase del día a la hora que quieras, por ejemplo, al desperarte.\nRecuerda que no puedes ver frases de los días que no hayan pasado aún con la aplicación.\nEsperamos que la disfrutes.</string>
<string name="welcome_text">Bienvenidos a Calendario de Frases, donde cada día disfrutarás de una nueva cita celebre o de un nuevo refrán que podrás guardar o compartir con tus amigos.\nAdemás, podrás poner una notificación para que te avise de la frase del día a la hora que quieras, por ejemplo, al despertarte.\nRecuerda que no puedes ver frases de los días que no hayan pasado aún con la aplicación.\nEsperamos que la disfrutes.</string>
<string name="welcome_button">Empecemos</string>
<string name="copied">Copiado al portapapeles</string>
<string name="share_with">Compartir con</string>
<string name="sentence_of_day">Frase del %1$d de %2$s</string>
<!-- Rediseño 2026-10 (mockup SVG) -->
<string name="btn_change">CAMBIAR FRASE</string>
<string name="back">Volver</string>
<string name="about_text">Programado por JKA Network.</string>
<string name="about_licenses">Licencias\nRoboto Calendar View - Apache 2.0</string>
<string name="guardado">Guardado</string>
<!-- Bottom nav -->
<string name="nav_inicio">Inicio</string>
<string name="nav_favoritos">Favoritos</string>
<string name="nav_opciones">Opciones</string>
<!-- Favoritos -->
<string name="buscar_favoritos">Buscar en favoritos…</string>
<string name="lista_vacia">Todavía no hay nada por aquí</string>
<string name="copiar">Copiar</string>
<string name="delfav">Borrar de los favoritos</string>
<string name="compartir">Compartir</string>
<!-- Opciones -->
<string name="opts_notif_title">Notificación diaria</string>
<string name="opts_notif_desc">Recibir cada día la frase como notificación</string>
<string name="opts_pers_title">Notificación persistente</string>
<string name="opts_pers_desc">Mantener la frase fijada hasta que la veas</string>
<string name="opts_hora_title">Hora de la notificación</string>
<string name="opts_notif_perm_msg">Sin el permiso de notificaciones no podrás recibir la frase diaria.\n¿Quieres activarlas en los ajustes del sistema?</string>
<string name="opts_notif_perm_ok">Abrir ajustes</string>
<string name="opts_about_title">Acerca de</string>
<!-- Rewarded -->
<string name="rewarded_change_title">¡Recompensa conseguida!</string>
<string name="rewarded_change_msg">Ver el anuncio nos ayuda a mantener la app. ¿Quieres cambiar la frase de hoy?</string>
<string name="rewarded_change_ok">Cambiar la frase</string>
<string name="rewarded_not_ready">Aún no hay un anuncio disponible, espera un momento</string>
<string name="rewarded_no_sentence">Aquí no puedes cambiar la frase: este día aún no ha llegado</string>
</resources>