Using PreferenceScreen/PreferenceActivity to configure home screen widgets

后端 未结 2 1604
渐次进展
渐次进展 2021-02-10 14:34

I\'m creating an appwidget, where the user should be able to configure it before it is added to the home screen. To me, PreferenceScreen/PreferenceActivity seems perfect for the

2条回答
  •  眼角桃花
    2021-02-10 15:27

    You certainly can use a PreferenceActivity for this purpose. If you set it up as the android:configure activity in your widget configuration, though, you will have to do a bit of fancy footwork to then get your widget updated.

提交回复
热议问题