It would really help if you would examine, and possibly include in these
emails, the Java stack trace from the Android log with these exceptions.
You can view the Android log via adb logcat or DDMS.

> I am trying to bring up a Preferences screen.  Here is the XML for the
> screen.
>
> <?xml version="1.0" encoding="utf-8"?>
> <PreferenceScreen
>       xmlns:android="http://schemas.android.com/apk/res/android";>
>       <EditTextPreference
>               android:key="weight"
>               android:title="@string/weightlbltxt"
>               android:defaultValue="145"
>               />
>       <ListPreference
>           android:title="@string/genderlbltxt"
>               android:entries="@array/genders"
>               android:defaultValue="Male"
>               />
>       <ListPreference
>               android:title="string/alarmlbltxt"
>               android:entries="@array/alarms"
>               android:defaultValue="None"
>               />
>       <EditTextPreference
>               android:key="BAC"
>               android:title="@string/baclbltxt"
>               android:defaultValue="0.08"
>               />
>       <Button android:id="@+id/btnSetDone"
>               android:layout_width="wrap_content"
>               android:layout_height="wrap_content"
>               android:layout_centerHorizontal="true"
>               android:text="@string/donetxt"
>               />
> </PreferenceScreen>

Try getting rid of the Button.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to