1. If you use the ListView control on a non-black background, Android may default to the background of this list control suddenly black when scrolling the ListView. This may lead to the black background of the program and the theme of the main program is neither coordinated
I started with the androidmanifest.xml.
Android:theme= "@android: Style/theme.notitlebar"
After careful investigation of the meaning is: background theme without the title bar style, default if not set, display black background
To solve this problem:
then replace it with android:theme= "@android: Style/theme.translucent.notitlebar
For more information, see http://blog.csdn.net/zhupengqq/article/details/51472682
2.
The following error occurred: This is not an instance class
Java.lang.RuntimeException:Unable to instantiate activity ComponentInfo
There are two scenarios in which activity cannot be instantiated:
1. The activity has not been registered in the manifest.xml manifest, or the class name of the package name or activity has been modified after the activity has been created, and the configuration manifest has not been modified, resulting in the inability to instantiate
2. Create a new package yourself, while configuring, use the default package
For more information, see: http://blog.csdn.net/zhupengqq/article/details/51591964
A summary of the mistakes of the Android music learning idiom