add item to the settings in android framework

后端 未结 1 1693
眼角桃花
眼角桃花 2021-01-07 14:20

i am working in android frameworks.i want to add an item to the existing settings in the android OS.can u plz tell me how to do this?

相关标签:
1条回答
  • 2021-01-07 14:50

    First read about PreferenceActivity. These group of classes handle user prefs.

    Then depending on your task, do something like this.

    In case you want to add a live wallpaper or an input method add android:settingsActivity in your Manifest. (Example : here)

    Or follow this tutorial

    0 讨论(0)
提交回复
热议问题