1 <html devsite> 2 <head> 3 <title>Implementing Circular Icons</title> 4 <meta name="project_path" value="/_project.yaml" /> 5 <meta name="book_path" value="/_book.yaml" /> 6 </head> 7 <body> 8 <!-- 9 Copyright 2017 The Android Open Source Project 10 11 Licensed under the Apache License, Version 2.0 (the "License"); 12 you may not use this file except in compliance with the License. 13 You may obtain a copy of the License at 14 15 http://www.apache.org/licenses/LICENSE-2.0 16 17 Unless required by applicable law or agreed to in writing, software 18 distributed under the License is distributed on an "AS IS" BASIS, 19 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20 See the License for the specific language governing permissions and 21 limitations under the License. 22 --> 23 24 25 26 <p>Circular <a 27 href="https://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html">launcher 28 icons</a> are supported in Android 7.1.1 and later. Circular launcher icons 29 are not enabled by default. To use circular icons in your device 30 implementation, you must edit the <a 31 href="/source/add-device.html#use-resource-overlays">resource 32 overlay</a> on your device to enable them.</p> 33 34 <p>The resource file you are using an overlay on is at: 35 <code><a 36 href="https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml">frameworks/base/core/res/res/values/config.xml</a></code> 37 38 <p>To enable circular icons, change the <code>config_useRoundIcon</code> 39 setting in your overlay file from <code>false</code> to <code>true</code>:</p> 40 41 <pre class="devsite-click-to-copy"> 42 <!-- Flag indicating whether round icons should be parsed from the application manifest. --> 43 <bool name="config_useRoundIcon">true</bool> 44 </pre> 45 46 </body> 47 </html> 48