自定义组件:
http://marshal.easymorse.com/archives/3068
使用系统自带的属性
http://blog.csdn.net/flowingflying/article/details/6274208
<resources>
<declare-styleable name="HelloGallery">
<attr name="android:galleryItemBackground" />
</declare-styleable>
</resources>