Note

<activity>.java is always named according to your Activity name.

R.java File The file R.java is an auto-generated file that is added to your application by the Android plugin. This file contains pointers into the drawable, layout, and values directories (or the items within the directories, as is the case with strings and icons). You should never have to modify this file directly. You will be referencing R.java in most of your applications. The code that was auto-generated for the HelloWorldText application follows:

/* AUTO-GENERATED FILE. DO NOT MODIFY. *

* This class was automatically generated by the

* aapt tool from the resource data it found. It

package testPackage.HelloWorldText; public final class

public static final class attr { }

public static final class drawable {

public static final int icon=0x7f020000;

public static final class layout {

public static final int main=0x7f030000;

public static final class string {

public static final int app_name=0x7f040000;

0 0

Post a comment