android grideview 图片png透明,Android 使用开源库StickyGridHeaders来实现带sections和headers的GridView显示本地图片效果...

逑俊楚
2023-12-01

【实例简介】

Android 使用开源库StickyGridHeaders来实现带sections和headers的GridView显示本地图片效果,项目详情:http://blog.csdn.net/xiaanming/article/details/20481185

【实例截图】

【核心代码】

StickyHeaderGridView

`-- StickyHeaderGridView

|-- AndroidManifest.xml

|-- bin

| |-- AndroidManifest.xml

| |-- StickyHeaderGridView.apk

| |-- classes

| | `-- com

| | |-- example

| | | `-- stickyheadergridview

| | | |-- BuildConfig.class

| | | |-- GridItem.class

| | | |-- ImageScanner$1.class

| | | |-- ImageScanner$2.class

| | | |-- ImageScanner$ScanCompleteCallBack.class

| | | |-- ImageScanner.class

| | | |-- MainActivity$1.class

| | | |-- MainActivity.class

| | | |-- MyImageView$OnMeasureListener.class

| | | |-- MyImageView.class

| | | |-- NativeImageLoader$1.class

| | | |-- NativeImageLoader$2.class

| | | |-- NativeImageLoader$3.class

| | | |-- NativeImageLoader$NativeImageCallBack.class

| | | |-- NativeImageLoader.class

| | | |-- R$attr.class

| | | |-- R$drawable.class

| | | |-- R$id.class

| | | |-- R$layout.class

| | | |-- R$menu.class

| | | |-- R$string.class

| | | |-- R$style.class

| | | |-- R.class

| | | |-- StickyGridAdapter$1.class

| | | |-- StickyGridAdapter$2.class

| | | |-- StickyGridAdapter$HeaderViewHolder.class

| | | |-- StickyGridAdapter$ViewHolder.class

| | | |-- StickyGridAdapter.class

| | | `-- YMComparator.class

| | `-- tonicartos

| | `-- widget

| | `-- stickygridheaders

| | |-- StickyGridHeadersBaseAdapter.class

| | |-- StickyGridHeadersBaseAdapterWrapper$1.class

| | |-- StickyGridHeadersBaseAdapterWrapper$FillerView.class

| | |-- StickyGridHeadersBaseAdapterWrapper$HeaderFillerView.class

| | |-- StickyGridHeadersBaseAdapterWrapper$HeaderHolder.class

| | |-- StickyGridHeadersBaseAdapterWrapper$Position.class

| | |-- StickyGridHeadersBaseAdapterWrapper.class

| | |-- StickyGridHeadersGridView$1.class

| | |-- StickyGridHeadersGridView$2.class

| | |-- StickyGridHeadersGridView$3.class

| | |-- StickyGridHeadersGridView$CheckForHeaderLongPress.class

| | |-- StickyGridHeadersGridView$CheckForHeaderTap.class

| | |-- StickyGridHeadersGridView$OnHeaderClickListener.class

| | |-- StickyGridHeadersGridView$OnHeaderLongClickListener.class

| | |-- StickyGridHeadersGridView$PerformHeaderClick.class

| | |-- StickyGridHeadersGridView$RuntimePlatformSupportException.class

| | |-- StickyGridHeadersGridView$SavedState$1.class

| | |-- StickyGridHeadersGridView$SavedState.class

| | |-- StickyGridHeadersGridView$WindowRunnable.class

| | |-- StickyGridHeadersGridView.class

| | |-- StickyGridHeadersListAdapterWrapper$1.class

| | |-- StickyGridHeadersListAdapterWrapper.class

| | |-- StickyGridHeadersSimpleAdapter.class

| | |-- StickyGridHeadersSimpleAdapterWrapper$DataSetObserverExtension.class

| | |-- StickyGridHeadersSimpleAdapterWrapper$HeaderData.class

| | |-- StickyGridHeadersSimpleAdapterWrapper.class

| | |-- StickyGridHeadersSimpleArrayAdapter$HeaderViewHolder.class

| | |-- StickyGridHeadersSimpleArrayAdapter$ViewHolder.class

| | `-- StickyGridHeadersSimpleArrayAdapter.class

| |-- classes.dex

| |-- dexedLibs

| | `-- android-support-v4-26936365d85feed861d94c7d52d8dcba.jar

| |-- res

| | |-- drawable-hdpi

| | | |-- friends_sends_pictures_no.png

| | | `-- ic_launcher.png

| | |-- drawable-ldpi

| | | `-- ic_launcher.png

| | |-- drawable-mdpi

| | | `-- ic_launcher.png

| | `-- drawable-xhdpi

| | `-- ic_launcher.png

| `-- resources.ap_

|-- gen

| `-- com

| `-- example

| `-- stickyheadergridview

| |-- BuildConfig.java

| `-- R.java

|-- ic_launcher-web.png

|-- libs

| `-- android-support-v4.jar

|-- proguard-project.txt

|-- project.properties

|-- res

| |-- drawable-hdpi

| | |-- friends_sends_pictures_no.png

| | `-- ic_launcher.png

| |-- drawable-ldpi

| | `-- ic_launcher.png

| |-- drawable-mdpi

| | `-- ic_launcher.png

| |-- drawable-xhdpi

| | `-- ic_launcher.png

| |-- layout

| | |-- activity_main.xml

| | |-- grid_item.xml

| | `-- header.xml

| |-- menu

| | `-- activity_main.xml

| |-- values

| | |-- strings.xml

| | `-- styles.xml

| |-- values-v11

| | `-- styles.xml

| `-- values-v14

| `-- styles.xml

`-- src

`-- com

|-- example

| `-- stickyheadergridview

| |-- GridItem.java

| |-- ImageScanner.java

| |-- MainActivity.java

| |-- MyImageView.java

| |-- NativeImageLoader.java

| |-- StickyGridAdapter.java

| `-- YMComparator.java

`-- tonicartos

`-- widget

`-- stickygridheaders

|-- StickyGridHeadersBaseAdapter.java

|-- StickyGridHeadersBaseAdapterWrapper.java

|-- StickyGridHeadersGridView.java

|-- StickyGridHeadersListAdapterWrapper.java

|-- StickyGridHeadersSimpleAdapter.java

|-- StickyGridHeadersSimpleAdapterWrapper.java

`-- StickyGridHeadersSimpleArrayAdapter.java

37 directories, 102 files

 类似资料: