I’m currently working on customizing the Android Settings app in the Android Open Source Project (AOSP). My goal is to modify the Settings app to display only a select few settings, such as Wi-Fi, Bluetooth, and Display settings, while hiding or locking other settings.
Could anyone provide guidance or code snippets on how to achieve this customization within the AOSP? I’ve looked into the source code of the Settings app, but I’m unsure about the specific steps or modifications needed to accomplish this task. Any insights or pointers would be greatly appreciated.
Thank you in advance for your help!
I have attached an image that illustrates the settings I want to retain and the ones I intend to remove.
I attempted to customize the Android Settings app by editing the XML files and commenting out the sections corresponding to the settings I wanted to remove. However, upon deploying the modified app, it failed to function properly, displaying an error message stating that the Settings app keeps stopping.
Brijesh Yadav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.