From 744256fc330946eaa3ee6fe699f98cd18c63a465 Mon Sep 17 00:00:00 2001 From: kangshulong <1095887643@qq.com> Date: Tue, 9 Dec 2025 15:17:05 +0800 Subject: [PATCH] =?UTF-8?q?1.2=E5=8F=B7=E5=B9=BF=E5=91=8A=E4=BD=8D?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E4=BB=8E=E7=AC=AC=E4=B8=89=E6=96=B9=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E6=92=AD=E6=94=BE=E6=81=A2=E5=A4=8D=E4=B8=BAHomeMutil?= =?UTF-8?q?View?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ik/mboxlauncher/ui/Launcher.java | 4 ++-- .../java/com/ik/mboxlauncher/ui/MyApplication.java | 14 +++++++------- .../main/res/layout-sw480dp/layout_rect_group1.xml | 4 ++-- .../main/res/layout-sw540dp/layout_rect_group1.xml | 4 ++-- .../main/res/layout-sw720dp/layout_rect_group1.xml | 4 ++-- app/src/main/res/layout/layout_rect_group1.xml | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java b/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java index fed60d7..9cc42e0 100644 --- a/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java +++ b/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java @@ -77,7 +77,7 @@ import java.util.Map; public class Launcher extends FragmentActivity implements SplashView.SplashAdListener { public static final String TAG="com.ik.mboxlauncher.ui.fragment.MainFragment"; private MultiView layout_video,layout_music,layout_primevideo,layout_filemanager,layout_hbomax,layout_setting,layout_youtube,layout_recommend,layout_netflix,layout_chrome; - private AdMultiView layout_miracastreceive; + private MultiView layout_miracastreceive; private int[] imageResIds={R.drawable.img_video,R.drawable.img_miracastreceive,R.drawable.img_youtube,R.drawable.img_recommend,R.drawable.img_music,R.drawable.img_netflix,R.drawable.img_primevideo,R.drawable.img_filemanager,R.drawable.img_chrome,R.drawable.img_hbomax,R.drawable.img_setting}; private CustomRecyclerView gv_shortcut,grid_coustom_apps; private StatusLoader mStatusLoader; @@ -156,7 +156,7 @@ public class Launcher extends FragmentActivity implements SplashView.SplashAdLi ad_full_root = findViewById(R.id.ad_full_root); layout_miracastreceive = findViewById(R.id.layout_miracastreceive); layout_miracastreceive.setOnClickListener(onClickListener); - layout_miracastreceive.setFullRooView(ad_full_root); +// layout_miracastreceive.setFullRooView(ad_full_root); multiViewArray[1]=layout_miracastreceive; layout_youtube = findViewById(R.id.layout_youtube); layout_youtube.setOnClickListener(onClickListener); diff --git a/app/src/main/java/com/ik/mboxlauncher/ui/MyApplication.java b/app/src/main/java/com/ik/mboxlauncher/ui/MyApplication.java index 3a78b01..ae09563 100644 --- a/app/src/main/java/com/ik/mboxlauncher/ui/MyApplication.java +++ b/app/src/main/java/com/ik/mboxlauncher/ui/MyApplication.java @@ -29,15 +29,15 @@ public class MyApplication extends Application { AppManager.init(getApplicationContext()); ADManager.init(getApplicationContext()); SharePreUtils.getInstance(getApplicationContext()); - AdConfig config = new AdConfig.Builder() - .isDebug(false)//是否开始 debug 模式,开启会打印更多log,供开发调试 - .productName("aike")//正式发版时使用正式的PN - .productTag("launcher")//正式发版时使用正式的PT +// AdConfig config = new AdConfig.Builder() +// .isDebug(false)//是否开始 debug 模式,开启会打印更多log,供开发调试 +// .productName("aike")//正式发版时使用正式的PN +// .productTag("launcher")//正式发版时使用正式的PT // .productName("test")//仅限开发测试使用 // .productTag("test")//仅限开发测试使用 - .adId(getAdId(this)) - .build(); - AdManager.getInstance().init(MyApplication.this, config); +// .adId(getAdId(this)) +// .build(); +// AdManager.getInstance().init(MyApplication.this, config); Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { @Override public void uncaughtException(Thread thread, Throwable throwable) { diff --git a/app/src/main/res/layout-sw480dp/layout_rect_group1.xml b/app/src/main/res/layout-sw480dp/layout_rect_group1.xml index 15b5a15..c3c0502 100644 --- a/app/src/main/res/layout-sw480dp/layout_rect_group1.xml +++ b/app/src/main/res/layout-sw480dp/layout_rect_group1.xml @@ -98,13 +98,13 @@ /> - diff --git a/app/src/main/res/layout-sw540dp/layout_rect_group1.xml b/app/src/main/res/layout-sw540dp/layout_rect_group1.xml index 8c4a2b0..147d552 100644 --- a/app/src/main/res/layout-sw540dp/layout_rect_group1.xml +++ b/app/src/main/res/layout-sw540dp/layout_rect_group1.xml @@ -98,13 +98,13 @@ /> - diff --git a/app/src/main/res/layout-sw720dp/layout_rect_group1.xml b/app/src/main/res/layout-sw720dp/layout_rect_group1.xml index 53d1578..0707df3 100644 --- a/app/src/main/res/layout-sw720dp/layout_rect_group1.xml +++ b/app/src/main/res/layout-sw720dp/layout_rect_group1.xml @@ -98,13 +98,13 @@ /> - diff --git a/app/src/main/res/layout/layout_rect_group1.xml b/app/src/main/res/layout/layout_rect_group1.xml index 730894b..e04240c 100644 --- a/app/src/main/res/layout/layout_rect_group1.xml +++ b/app/src/main/res/layout/layout_rect_group1.xml @@ -97,13 +97,13 @@ /> -