Merge commit '9aa12f85bef352bbc528fbee2ccd7350a2f30394' into kraken * commit '9aa12f85bef352bbc528fbee2ccd7350a2f30394': fix doc bug in hello gallery tutorial
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