Docs+IDs: rewarded en admob.example.xml (test), README y AGENTS al día
This commit is contained in:
1 parent
082569f8a7
commit
8d16ad0b60
3 files changed
+15
-6
No files matched your search
@@ -39,18 +39,25 @@ SDK: `~/android-sdk` (compileSdk 37, build-tools 36). JDK 17+.
|
||||
`DailyNotifWorker` ejecuta). No volver a AlarmManager/Service (crasheaba en
|
||||
Android 8+). Permiso POST_NOTIFICATIONS se pide en OptsActivity.
|
||||
5. **AdMob**: siempre UMP consent antes de `MobileAds.initialize` (política
|
||||
Google en EEA). `initialize` SIEMPRE en hilo background.
|
||||
Google en EEA). `initialize` SIEMPRE en hilo background. Banner adaptativo
|
||||
por código (`UiUtils.loadBannerAd`) en todas las pantallas; rewarded
|
||||
("CAMBIAR FRASE") solo en MainActivity, recargado tras cada uso.
|
||||
6. **Estilo código**: sin switch sobre R.id (AGP 9 genera R no-final; usar
|
||||
if-else). Strings de UI SIEMPRE en `res/values/strings.xml`. Queries SQLite
|
||||
SIEMPRE parametrizadas (`?` + selectionArgs), jamás concatenación.
|
||||
7. **robotocalendarview** (jitpack, 2017): lib pre-AndroidX; por eso
|
||||
`android.enableJetifier=true` sigue activo. No actualizar la lib a ciegas.
|
||||
Se estiliza SOLO por resource-merge desde la app (colores/dimens
|
||||
`roboto_calendar_*` y los drawables `circle`/`ring` que la lib usa para
|
||||
día seleccionado/hoy), sin tocar la lib.
|
||||
8. **Idioma**: código y comentarios en inglés (histórico del repo), UI en
|
||||
español en strings.xml, docs (README/este fichero) en español.
|
||||
9. **Edge-to-edge** (targetSdk 35+): Android 15+ fuerza el dibujo bajo las
|
||||
barras del sistema y el ActionBar clásico ya no aparta el contenido.
|
||||
TODA activity llama a `UiUtils.applySystemBarsInsets(this)` justo tras
|
||||
`setContentView` — las nuevas pantallas también.
|
||||
TODA activity llama a `UiUtils.applySystemBarsInsets(activity, root,
|
||||
navColor, darkNavbar)` justo tras `setContentView` — las nuevas pantallas
|
||||
también. El rediseño 2026-10 oculta el ActionBar y usa header propio +
|
||||
bottom nav compartida (view_bottom_nav.xml + UiUtils.setupBottomNav).
|
||||
|
||||
## Verificación antes de dar por cerrado un cambio
|
||||
|
||||
|
||||
Reference in new issue
Block a user