I have strange issue. And normally on strange issues I’ve done something really stupid. But this I have absolutely no clue what could be wrong.
I added
android:configChanges="orientation"
to the activity section of my app to prevent the refresh of the listview on screen rotation. This worked pretty well, but after targeting sdK-Version 15, the ListView is refreshing again. I read some more lines and noticed, that I also have to add screenSize attribute for sdK targets 13 and above.
But there is no attribute “screenSize” available in my Eclipse (smallestScreenSize is also missing). I have installed every available sdK incl the Google api’s since Version 7.
Please has someone an idea, how to fix that?
Thank u very much in advance!
Best regards
Tobi
Right click your Android Project, click Properties, navigate to Android, and then select Android 4.0.3. If you haven’t already.
If
screenSizeandsmallestScreenSizestill don’t show up, then doing a Project –> Clean and restarting eclipse. Not sure what the problem would be otherwise…