How do we connect java code with XML like Textview, button ... etc OR What is R.java
R.java is connects with Resources in application those are like drawable, layout,mipmap, Values .. etc
- R.java file is an auto-generated file by aapt (Android Asset Packaging Tool)
- It contains resource IDs for all the resources of res/ directory.
- when you create any component in the XML file, id for the corresponding component is automatically created in this file.
---------------------------- * * * ---------------------------------------
No comments