Nova Launcher opens their settings with the cogwheel in the upper right. How is this done? How would I place my app's settings activity there?
On Android 7.0 and higher, you can use this <intent-filter>
on your settings activity:
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
The Settings app should pick that up and make it available to the user via that gear icon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With