החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
הטמעת סמלים עגולים
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
סמלי מרכז האפליקציות עגולים נתמכים ב-Android 7.1.1 ואילך. סמלי מרכז האפליקציות העגולים לא מופעלים כברירת מחדל. כדי להשתמש בסמלים עגולים בהטמעה במכשיר, צריך לערוך את שכבת-העל של המשאבים במכשיר כדי להפעיל אותם.
קובץ המשאב שבו אתם משתמשים בשכבת-על נמצא בכתובת:
frameworks/base/core/res/res/values/config.xml
כדי להפעיל סמלים עגולים, משנים את ההגדרה config_useRoundIcon
בקובץ שכבת-העל מ-false
ל-true
:
<!-- Flag indicating whether round icons should be parsed from the application manifest. -->
<bool name="config_useRoundIcon">true</bool>
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Implement circular icons\n\nCircular [launcher\nicons](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive) are supported in Android 7.1.1 and later. Circular launcher icons\nare not enabled by default. To use circular icons in your device\nimplementation, you must edit the [resource\noverlay](/docs/setup/add-device#use-resource-overlays) on your device to enable them.\n\nThe resource file you are using an overlay on is at:\n[frameworks/base/core/res/res/values/config.xml](https://android.googlesource.com/platform/frameworks/base/+/android16-release/core/res/res/values/config.xml)\n\nTo enable circular icons, change the `config_useRoundIcon`\nsetting in your overlay file from `false` to `true`: \n\n```\n\u003c!-- Flag indicating whether round icons should be parsed from the application manifest. --\u003e\n\u003cbool name=\"config_useRoundIcon\"\u003etrue\u003c/bool\u003e\n```"]]