Merge branch 'main' of github.com:MM2-0/Kvaesitso
This commit is contained in:
commit
f787504e37
17
docs/docs/developer-guide/plugins/settings.md
Normal file
17
docs/docs/developer-guide/plugins/settings.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Plugin Settings
|
||||||
|
|
||||||
|
To add a plugin settings activity, create an activity with the following intent filter:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<activity
|
||||||
|
android:name=".SettingsActivity"
|
||||||
|
android:exported="true">
|
||||||
|
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="de.mm20.launcher2.action.PLUGIN_SETTINGS" />
|
||||||
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
```
|
||||||
|
|
||||||
|
Users can launch this activity by pressing the <span class="material-symbols-rounded">settings</span> on the plugin settings screen.
|
||||||
@ -77,6 +77,10 @@ export const DeveloperGuideSidebar: DefaultTheme.SidebarItem[] = [
|
|||||||
text: 'Metadata',
|
text: 'Metadata',
|
||||||
link: '/docs/developer-guide/plugins/metadata',
|
link: '/docs/developer-guide/plugins/metadata',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'Plugin Settings',
|
||||||
|
link: '/docs/developer-guide/plugins/settings',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: 'Access Control',
|
text: 'Access Control',
|
||||||
link: '/docs/developer-guide/plugins/access-control',
|
link: '/docs/developer-guide/plugins/access-control',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user