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>