go over to xda and ask the questions you have
Hello,
I've been following the Views tutorials included in the android developer site:
http://developer.android.com/guide/t...o-gallery.html
When testing the "Hello Gallery" view, I get the compile-time error:
"android.R.styleable cannot be resolved"
I searched for this error on this group but is wasn't answered.
Can anyone help?
The problem reference occurs in the imageAdapter class that is appended after the onCreate() method in the HelloGallery class:
public class ImageAdapter extends BaseAdapter
{
...
TypedArray a = obtainStyledAttributes(android.R.styleable.Theme);
}
Strangely enough, when I insert this line into the onCreate() method at the start of the package, there is no problem. It seems that the android.R class is not known to this class.
Thanks,
go over to xda and ask the questions you have
![]()
1 htc g1 (rooted) soaked, resurrected and died finally 11 mos later
1 moto cliq died unexpectedly.
1 samsung behold II huge disappointment sold
1 samsung vibrant (rooted) 2.2
1 mytouch slide...hers untouched.. lol
all > iphone
Question: what is "xda"? An android-specific forum?
Thanks,
Paul
Bookmarks