[android-developers] Re: How to include a button in the live wallpaper settings GUI?

2011-03-24 Thread MobileVisuals
Thanks, I got it to work now! I used a preference inside the Live wallpaper settings, like in the code below. Here is an article about preferences that was very useful in solving this issue: http://www.kaloer.com/android-preferences http://schemas.android.com/apk/res/android"; android:title=

Re: [android-developers] Re: How to include a button in the live wallpaper settings GUI?

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 4:40 AM, MobileVisuals wrote: > Do you mean adding the button to the settings.xml file or to the > layout : main.xml file? > I mean add it where you want it - that's up to you. If you want it in an PreferenceActivity, you would use a Preference, not a button. > The butto

[android-developers] Re: How to include a button in the live wallpaper settings GUI?

2011-03-23 Thread MobileVisuals
Do you mean adding the button to the settings.xml file or to the layout : main.xml file? The button was not visible when I added it to the layout : main.xml file and the live wallpaper crashed when I added it to the settings.xml file. Here is the code that I used: -