All, I've got an issue where if I add more than 3 buttons on a widget Acore force closed. Here is my main.xml.
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:background="@drawable/widget_bg_normal1" android:orientation="horizontal" android:layout_gravity="center" android:layout_height="wrap_content"> <ImageButton android:src="@drawable/off1" android:background="#00000000" android:id="@+id/button_one" android:clickable="true" android:layout_gravity="center_horizontal|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dip" android:layout_marginRight="3dip"/> <ImageButton android:src="@drawable/bolt1" android:background="#00000000" android:id="@+id/button_two" android:layout_width="wrap_content" android:clickable="true" android:layout_gravity="center_horizontal|center" android:layout_height="wrap_content" android:layout_marginRight="5dip"/ > <ImageButton android:src="@drawable/set1" android:background="#00000000" android:id="@+id/button_three" android:layout_width="wrap_content" android:clickable="true" android:layout_gravity="center_horizontal|center" android:layout_height="wrap_content" android:layout_marginRight="10dip"/> </LinearLayout> And here is a logcat... 05-01 23:00:51.259 I/Process ( 459): Sending signal. PID: 2274 SIG: 3 05-01 23:00:51.259 I/dalvikvm( 2274): threadid=7: reacting to signal 3 05-01 23:00:51.299 I/dalvikvm( 2274): Wrote stack trace to '/data/anr/ traces.txt' 05-01 23:00:51.499 I/DumpStateReceiver( 459): Added state dump to 1 crashes 05-01 23:00:52.869 I/Process ( 2274): Sending signal. PID: 2274 SIG: 9 05-01 23:00:52.889 E/JavaBinder( 459): !!! FAILED BINDER TRANSACTION !!! 05-01 23:00:52.899 I/ActivityManager( 459): Process android.process.acore (pid 2274) has died. 05-01 23:00:52.909 I/WindowManager( 459): WIN DEATH: Window{439278f0 com.android.launcher/com.android.launcher.Launcher paused=false} 05-01 23:00:52.969 I/WindowManager( 459): onOrientationChanged, rotation changed to 0 05-01 23:00:53.239 D/dalvikvm( 442): GC freed 275 objects / 10464 bytes in 279ms 05-01 23:00:53.419 D/dalvikvm( 442): GC freed 42 objects / 1888 bytes in 176ms 05-01 23:00:53.439 D/dalvikvm( 459): GC freed 4730 objects / 355472 bytes in 472ms 05-01 23:00:53.449 I/ActivityManager( 459): Start proc android.process.acore for activity com.android.launcher/.Launcher: pid=2363 uid=10008 gids={3003, 3002, 3001, 1006, 1015} 05-01 23:00:53.479 I/WindowManager( 459): Setting rotation to 0, animFlags=0 05-01 23:00:53.499 I/WindowManager( 459): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3 orien=1 layout=18} 05-01 23:00:53.559 W/UsageStats( 459): Something wrong here, didn't expect com.android.launcher to be resumed 05-01 23:00:53.559 I/WindowManager( 459): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3 orien=1 layout=18} 05-01 23:00:53.639 D/StatusBar( 459): updateResources 05-01 23:00:53.829 D/dalvikvm( 442): GC freed 2 objects / 48 bytes in 406ms 05-01 23:00:53.869 I/ActivityThread( 2363): Publishing provider user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider 05-01 23:00:53.909 I/ActivityThread( 2363): Publishing provider com.android.globalsearch.SuggestionProvider: com.android.globalsearch.SuggestionProvider 05-01 23:00:54.139 D/dalvikvm( 2339): GC freed 355 objects / 16648 bytes in 179ms 05-01 23:00:54.529 D/dalvikvm( 2339): GC freed 150 objects / 7848 bytes in 175ms 05-01 23:00:54.559 I/ActivityThread( 2363): Publishing provider com.google.android.providers.enhancedgooglesearch: com.google.android.providers.enhancedgooglesearch.SuggestionProvider 05-01 23:00:54.699 I/ActivityThread( 2363): Publishing provider contacts;call_log: com.android.providers.contacts.GoogleContactsProvider 05-01 23:00:54.819 I/ActivityThread( 2363): Publishing provider com.android.globalsearch.stats: com.android.globalsearch.StatsProvider 05-01 23:00:54.819 I/ActivityThread( 2363): Publishing provider applications: com.android.providers.applications.ApplicationsProvider 05-01 23:00:54.929 D/dalvikvm( 2363): GC freed 3725 objects / 267840 bytes in 97ms 05-01 23:00:55.019 I/ActivityThread( 2363): Publishing provider com.android.launcher.settings: com.android.launcher.LauncherProvider 05-01 23:00:55.349 D/dalvikvm( 2363): GC freed 1626 objects / 99104 bytes in 88ms 05-01 23:00:55.539 D/dalvikvm( 2363): GC freed 186 objects / 9528 bytes in 93ms 05-01 23:00:55.799 W/InputManagerService( 459): Got RemoteException sending setActive(false) notification to pid 2274 uid 10008 05-01 23:00:55.909 I/ActivityManager( 459): Displayed activity com.android.launcher/.Launcher: 3004 ms (total 3004 ms) 05-01 23:00:55.939 D/HomeLoaders( 2363): ----> items cloned, ready to refresh UI Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

