First lets take a lesson into apk files. Apks are nothing more than a zip file containing resources and assembled java code.
If you were to simply unzip an apk like so, you would be left with files such as
However, at this point you have simply inflated compiled sources. If you tried to view
AndroidManifest.xml. You'd be left viewing this.