split the project into a library and a sample project
adding config files such as gitignore, classpath and project
added setBackgroundResource to the adapter