
Starting from Android 7.0 Google allows us to add custom quick settings tiles in addition to the default ones. You can add Quick Setting Tiles and set to launch specific actions from your app. For Example, VPN app Private Internet Access allows us to directly connect to VPN from Quick Settings instead of launching the app.
In this tutorial, we will create a sample app which displays random facts when the quick setting tile is clicked.