fix doc bug in hello gallery tutorial
Change-Id: I05ff14f7b15a8fd338dec8004912845eebe94347
This commit is contained in:
@@ -101,9 +101,9 @@ public class ImageAdapter extends BaseAdapter {
|
|||||||
|
|
||||||
public ImageAdapter(Context c) {
|
public ImageAdapter(Context c) {
|
||||||
mContext = c;
|
mContext = c;
|
||||||
TypedArray a = obtainStyledAttributes(android.R.styleable.Theme);
|
TypedArray a = obtainStyledAttributes(R.styleable.HelloGallery);
|
||||||
mGalleryItemBackground = a.getResourceId(
|
mGalleryItemBackground = a.getResourceId(
|
||||||
android.R.styleable.Theme_galleryItemBackground, 0);
|
R.styleable.HelloGallery_android_galleryItemBackground, 0);
|
||||||
a.recycle();
|
a.recycle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user