diff --git a/packages/apps/Launcher3/res/layout/folder_application.xml b/packages/apps/Launcher3/res/layout/folder_application.xml
大田ssl適用于網(wǎng)站、小程序/APP、API接口等需要進行數(shù)據(jù)傳輸應(yīng)用場景,ssl證書未來市場廣闊!成為創(chuàng)新互聯(lián)公司的ssl證書銷售渠道,可以享受市場價格4-6折優(yōu)惠!如果有意向歡迎電話聯(lián)系或者加微信:18980820575(備注:SSL證書合作)期待與您的合作!old mode 100644
new mode 100755
index 32a5419b8ea..55897bc0d15
--- a/packages/apps/Launcher3/res/layout/folder_application.xml
+++ b/packages/apps/Launcher3/res/layout/folder_application.xml
@@ -18,7 +18,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto"
- android:textColor="?attr/folderTextColor"
+ android:textColor="@android:color/white"
android:includeFontPadding="false"
android:hapticFeedbackEnabled="false"
launcher:iconDisplay="folder" />
diff --git a/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java b/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
old mode 100644
new mode 100755
index d01e189f7e7..220794ddd1d
--- a/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
+++ b/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
@@ -100,6 +100,7 @@ import java.util.Objects;
import java.util.StringJoiner;
import java.util.stream.Collectors;
import java.util.stream.Stream;
+import android.graphics.Color;
/**
* Represents a set of icons chosen by the user or generated by the system.
@@ -244,6 +245,8 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
& ~InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS
| InputType.TYPE_TEXT_FLAG_CAP_WORDS);
mFolderName.forceDisableSuggestions(!FeatureFlags.FOLDER_NAME_SUGGEST.get());
+
+ mFolderName.setTextColor(Color.WHITE);
mFooter = findViewById(R.id.folder_footer);
diff --git a/packages/apps/Launcher3/src/com/android/launcher3/folder/FolderAnimationManager.java b/packages/apps/Launcher3/src/com/android/launcher3/folder/FolderAnimationManager.java
old mode 100644
new mode 100755
index 3d72b49b44e..ab8664af626
--- a/packages/apps/Launcher3/src/com/android/launcher3/folder/FolderAnimationManager.java
+++ b/packages/apps/Launcher3/src/com/android/launcher3/folder/FolderAnimationManager.java
@@ -165,12 +165,21 @@ public class FolderAnimationManager {
final float yDistance = initialY - lp.y;
// Set up the Folder background.
- final int finalColor = ColorUtils.setAlphaComponent(
- Themes.getAttrColor(mContext, R.attr.folderFillColor), 255);
- final int initialColor = setColorAlphaBound(
- finalColor, mPreviewBackground.getBackgroundAlpha());
+ //swl add
+ final int finalColor = 0x00FFFFFF;
+ int folderFillColor = Themes.getAttrColor(mContext, R.attr.folderFillColor);
+ if (mIsOpening){
+ //finalColor = folderFillColor;
+ }else{
+ //finalColor = mFolderBackground.getColor().getDefaultColor();
+ }
+
+ //final int initialColor = setColorAlphaBound( //andy
+ // folderFillColor, mPreviewBackground.getBackgroundAlpha());
+ final int initialColor = 0x00FFFFFF;
mFolderBackground.mutate();
- mFolderBackground.setColor(mIsOpening ? initialColor : finalColor);
+ mFolderBackground.setColor(finalColor);
+ //end
// Set up the reveal animation that clips the Folder.
int totalOffsetX = paddingOffsetX + previewItemOffsetX;
你是否還在尋找穩(wěn)定的海外服務(wù)器提供商?創(chuàng)新互聯(lián)www.cdcxhl.cn海外機房具備T級流量清洗系統(tǒng)配攻擊溯源,準確流量調(diào)度確保服務(wù)器高可用性,企業(yè)級服務(wù)器適合批量采購,新人活動首月15元起,快前往官網(wǎng)查看詳情吧
文章標題:Android11Launcher3桌面文件夾背景透明-創(chuàng)新互聯(lián)
URL網(wǎng)址:http://jinyejixie.com/article16/ccpjgg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站設(shè)計公司、定制網(wǎng)站、域名注冊、企業(yè)網(wǎng)站制作、搜索引擎優(yōu)化、網(wǎng)站排名
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容