Gallary のコードをいくつか実行したところ、正常に動作するようになりました。しかし、私のコンセプトはまだ明確ではありません.私はそこにスタイルを使用しました.これは何ですか?そしてもう1つ,ギャラリー表示モードを変更することは可能ですか? -上)。
TypedArray attr = mContext
.obtainStyledAttributes(R.styleable.HelloGallery);
mGalleryItemBackground = attr.getResourceId(
R.styleable.HelloGallery_android_galleryItemBackground, 0);
attr.recycle();