ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
ใช้ไอคอนวงกลม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Android 7.1.1 ขึ้นไปรองรับไอคอน Launcher แบบวงกลม ระบบจะไม่เปิดใช้ไอคอนตัวเปิดแอปแบบวงกลมโดยค่าเริ่มต้น หากต้องการใช้ไอคอนวงกลมในการใช้งานบนอุปกรณ์ คุณต้องแก้ไขการวางซ้อนทรัพยากรในอุปกรณ์เพื่อเปิดใช้
ไฟล์ทรัพยากรที่คุณใช้การวางซ้อนอยู่มีอยู่ที่
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```"]]