问题描述:

I have an issue with screen orientation. The scenario is that, Suppose if there is 5 Text fields, and we entering different values for each Text field. After that, while we rotating the device, The 5th value got placed in all the Text fields and vice versa. if we entered only 3 out of 5 text fields, the last value in the field(null value) got placed in all the text fields.

Any help will be deeply appreciated. Thank you.

网友答案:

I have never seen that before in the 5 years working with Appcelerator. Do you have a test case/code that replicates what you are doing? Maybe someone else testing would help...

Ray

网友答案:

I fixed this issue by adding below line in all in the tiapp.xml file,

android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"

i think it works.

相关阅读:
Top