Skip to content

Commit a69e10d

Browse files
committed
fix doc bug in hello gallery tutorial
Change-Id: I05ff14f7b15a8fd338dec8004912845eebe94347
1 parent 65b2561 commit a69e10d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/html/resources/tutorials/views/hello-gallery.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public class ImageAdapter extends BaseAdapter {
101101

102102
public ImageAdapter(Context c) {
103103
mContext = c;
104-
TypedArray a = obtainStyledAttributes(android.R.styleable.Theme);
104+
TypedArray a = obtainStyledAttributes(R.styleable.HelloGallery);
105105
mGalleryItemBackground = a.getResourceId(
106-
android.R.styleable.Theme_galleryItemBackground, 0);
106+
R.styleable.HelloGallery_android_galleryItemBackground, 0);
107107
a.recycle();
108108
}
109109

0 commit comments

Comments
 (0)