feat: 适配Tab10CPro的5x5网格布局并优化对话框与上滑把手显示

This commit is contained in:
2026-10-20 16:59:18 +08:00
parent 7458216cbc
commit 449fed287e
15 changed files with 204 additions and 52 deletions

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Tab10CPro_GK exclusive 5x5 layout (5 columns / 5 rows, 5 hotseat icons) -->
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.uiuios">
<!-- Hotseat (screen 0..4 for 5x5, without com.aoleyun.info) -->
<favorite
launcher:className="com.aoleyun.sn.activity.SplashActivity"
launcher:container="-101"
launcher:packageName="com.aoleyun.sn"
launcher:screen="0"
launcher:x="0"
launcher:y="0" />
<favorite
launcher:className="com.aoleyun.appstore.activity.SplashActivity"
launcher:container="-101"
launcher:packageName="com.aoleyun.appstore"
launcher:screen="1"
launcher:x="1"
launcher:y="0" />
<favorite
launcher:className="com.android.settings.Settings"
launcher:container="-101"
launcher:packageName="com.android.settings"
launcher:screen="2"
launcher:x="2"
launcher:y="0" />
<favorite
launcher:className="com.aoleyun.browser.activity.main.MainActivity"
launcher:container="-101"
launcher:packageName="com.aoleyun.browser"
launcher:screen="3"
launcher:x="3"
launcher:y="0" />
<favorite
launcher:className="com.aoleyun.sn.activity.EyeProtectionActivity"
launcher:container="-101"
launcher:packageName="com.aoleyun.sn"
launcher:screen="4"
launcher:x="4"
launcher:y="0" />
</favorites>

View File

@@ -176,4 +176,24 @@
</grid-option>
<!-- Tab10CPro_GK (1860x2480, density 300) exclusive 5x5 profile with larger icons -->
<grid-option
launcher:name="tab10cpro_5x5"
launcher:numRows="5"
launcher:numColumns="5"
launcher:numFolderRows="4"
launcher:numFolderColumns="4"
launcher:numHotseatIcons="5"
launcher:defaultLayoutId="@xml/default_workspace_tab10cpro_5x5" >
<display-option
launcher:name="Tab10CPro 5x5"
launcher:minWidthDps="992"
launcher:minHeightDps="1323"
launcher:iconImageSize="100"
launcher:iconTextSize="15.0"
launcher:canBeDefault="true" />
</grid-option>
</profiles>