Migración a toolchain moderna y eliminación de Anko
Gradle 8.11.1, AGP 8.10.0, Kotlin 2.2.10, compile/targetSdk 36 (requisito Play 2026), minSdk 24 (exige ads 25.5.0), AdMob 25.5.0. anko-sqlite -> SQLiteOpenHelper nativo, commons -> helpers propios, layouts DSL -> XML + ViewBinding. Fixes: PendingIntent FLAG_IMMUTABLE, canal de notificaciones STN, ID de unidad correcto en RewardedAd.load, startService sobre receiver -> sendBroadcast, POST_NOTIFICATIONS en manifest.
This commit is contained in:
1 parent
8dd05334ec
commit
5a01a42cd7
18 files changed
+316
-283
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?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="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="#F8F2F2">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="¡Gracias por usar Frases de Anime! \nIdea por Alba García y desarrollada por JKANetwork!"
|
||||
android:textSize="22sp"
|
||||
android:textColor="#000000"
|
||||
android:textAlignment="center"
|
||||
android:padding="12dp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/cerebro"
|
||||
android:contentDescription="Logo" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?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="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_exit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Volver" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_sel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Seleccionar todos" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/view_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Layout genérico de lista, sustituye al DSL verticalLayout{listView{}} de Anko -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/view_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
Reference in new issue
Block a user