i'm not sure what the issue you're describing is... before you said the xml was invalid, now you're saying onConfigurationChanged isn't called which could be for several reasons see http://stackoverflow.com/questions/6457659/android-onconfigurationchanged-not-being-called
On Thursday, June 6, 2013 4:24:02 PM UTC+3, 张维亚 wrote: > > I know,but it's not perfect,it‘s not running onConfigurationChanged when the > screen is switched And I have remove android:targetSdkVersion="*" > 在 2013-6-6,下午7:35,Piren <[email protected] <javascript:>> 写道: > > dont set targetSdkVersion > > On Thursday, June 6, 2013 1:34:14 PM UTC+3, 张维亚 wrote: >> >> When I set up android:targetSdkVersion="*" >> android:configChanges="orientation|keyboardHidden" is invalid >> > > -- > -- > 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]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

