release ICLoopPageLauncher_V65_202310032142_release.apk c49
authorsnicker <snickersun@163.com>
Tue, 3 Oct 2023 13:45:16 +0000 (21:45 +0800)
committersnicker <snickersun@163.com>
Tue, 3 Oct 2023 13:45:16 +0000 (21:45 +0800)
1、修复ide 3.6.1 上编译问题
2、添加 persist.sys.hidemainicon = true 隐藏主页面图标能力

app/release/ICLoopPageLauncher_V65_202310032142_release.apk [new file with mode: 0644]
app/release/output.json [new file with mode: 0644]
app/src/main/java/com/ic/launcher/view/MainPageView.java
app/src/main/res/layout/item_main_page_c5.xml
app/version_code.properties
build.gradle

diff --git a/app/release/ICLoopPageLauncher_V65_202310032142_release.apk b/app/release/ICLoopPageLauncher_V65_202310032142_release.apk
new file mode 100644 (file)
index 0000000..024f02a
Binary files /dev/null and b/app/release/ICLoopPageLauncher_V65_202310032142_release.apk differ
diff --git a/app/release/output.json b/app/release/output.json
new file mode 100644 (file)
index 0000000..92fc882
--- /dev/null
@@ -0,0 +1 @@
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"ICLoopPageLauncher_V65_202310032142_release.apk","fullName":"release","baseName":"release"},"path":"ICLoopPageLauncher_V65_202310032142_release.apk","properties":{}}]
\ No newline at end of file
index 6b607d6..0b541b1 100644 (file)
@@ -12,6 +12,7 @@ import androidx.annotation.Nullable;
 import com.ic.iclooger.ICLogger;
 import com.ic.launcher.R;
 import com.ic.launcher.presenter.MainPagePresenter;
+import com.ic.launcher.utils.SystemUtils;
 
 public class MainPageView extends LinearLayout {
 
@@ -34,9 +35,17 @@ public class MainPageView extends LinearLayout {
 
     public MainPageView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
         super(context, attrs, defStyleAttr);
-        LayoutInflater.from(getContext()).inflate(
-                R.layout.item_main_page, this
-        );
+        if(SystemUtils.getSystemProperties("persist.sys.hidemainicon").equals("true"))
+        {
+            LayoutInflater.from(getContext()).inflate(
+                    R.layout.item_main_page_c5, this
+            );
+        }else{
+            LayoutInflater.from(getContext()).inflate(
+                    R.layout.item_main_page, this
+            );
+        }
+
         initView();
         initViewModel();
     }
index 9283ee8..7ca7b74 100644 (file)
@@ -46,8 +46,8 @@
 
     <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:layout_marginTop="20dp"
+        android:layout_height="1dp"
+        android:layout_marginTop="1dp"
         android:orientation="horizontal">
 
         <LinearLayout
index 4da0fa6..d83f9a4 100644 (file)
@@ -1,2 +1,2 @@
-#Sun Jul 02 11:07:03 CST 2023
-VERSION_CODE=62
+#Tue Oct 03 21:42:14 CST 2023\r
+VERSION_CODE=65\r
index ec19a1f..8c02403 100644 (file)
@@ -2,10 +2,16 @@
 buildscript {
     repositories {
         google()
+        maven {
+            url 'https://maven.aliyun.com/repository/public/'
+            name 'Google'
+        }
+        mavenLocal()
+        mavenCentral()
         jcenter()
     }
     dependencies {
-        classpath "com.android.tools.build:gradle:4.1.3"
+        classpath "com.android.tools.build:gradle:3.5.2"
 
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files