Add the id to public.xml as a java-symbol element in the top part of the
file where all of the private symbols are declared.
On Jul 26, 2012 9:23 AM, "Nathan Barraille" <[email protected]>
wrote:

> Hello,
> I am trying to add a TextView in
> frameworks/base/core/res/res/layout/keyguard_screen_unlock_landscape.xml,
> with a specific ID so that I could reuse it in the Java code, but it looks
> like this ID is never added to com.android.internal.R.java, so every time I
> try to access it from the java code, I get a "cannot find symbol" error.
>
> I tried just to build the res folder (mmm frameworks/base/core/res), the
> whole framework part (mmm frameworks/base) or even recompile the whole
> system (make), but this resource is never available.
>
> Thanks.
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to