| Author |
Non-constant Fields in Case Labels - ADT 15.0.1
|
Jeansonne Pierre
Greenhorn
Joined: Sep 11, 2011
Posts: 10
|
|
In a regular Android project, constants in the resource R class are declared like this:
public static final int main=0x7f030004;
However, as of ADT 14, in a library project, they will be declared like this:
public static int main=0x7f030004;
im using ADT 15.0.1 in eclipse, i'd tried create new simple android project but why still got the final there as below?
package com.test;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int ic_launcher=0x7f020000;
}
public static final class layout {
public static final int main=0x7f030000;
}
public static final class string {
public static final int app_name=0x7f040001;
public static final int hello=0x7f040000;
}
}
|
 |
 |
|
|
subject: Non-constant Fields in Case Labels - ADT 15.0.1
|
|
|