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