【实例简介】
这是一款仿ios联系人列表控件,支持字母行置顶(有阴影和没阴影置顶)。支持右边字母视图点击和滑动到置顶的字母行。搜索栏支持中英文搜索
【实例截图】
【核心代码】
PhoneDemo
└── PhoneDemo
├── AndroidManifest.xml
├── bin
│ ├── AndroidManifest.xml
│ ├── classes
│ │ └── com
│ │ └── example
│ │ └── phonedemo
│ │ ├── BuildConfig.class
│ │ ├── HanziToPinyin$Token.class
│ │ ├── HanziToPinyin.class
│ │ ├── LetterIndexView$1.class
│ │ ├── LetterIndexView$OnTouchLetterIndex.class
│ │ ├── LetterIndexView.class
│ │ ├── MainActivity$1.class
│ │ ├── MainActivity$2.class
│ │ ├── MainActivity$3.class
│ │ ├── MainActivity$4.class
│ │ ├── MainActivity$5.class
│ │ ├── MainActivity$MemberSortUtil.class
│ │ ├── MainActivity.class
│ │ ├── PhoneAdapter$ViewHolder.class
│ │ ├── PhoneAdapter.class
│ │ ├── PhoneBean.class
│ │ ├── PinnedSectionListView$1.class
│ │ ├── PinnedSectionListView$2.class
│ │ ├── PinnedSectionListView$3.class
│ │ ├── PinnedSectionListView$PinnedSection.class
│ │ ├── PinnedSectionListView$PinnedSectionListAdapter.class
│ │ ├── PinnedSectionListView.class
│ │ ├── R$array.class
│ │ ├── R$attr.class
│ │ ├── R$color.class
│ │ ├── R$dimen.class
│ │ ├── R$drawable.class
│ │ ├── R$id.class
│ │ ├── R$layout.class
│ │ ├── R$string.class
│ │ └── R.class
│ ├── classes.dex
│ ├── dexedLibs
│ │ └── android-support-v4-4f4fbb96783ca97515548475b8d7a912.jar
│ ├── jarlist.cache
│ ├── PhoneDemo.apk
│ ├── res
│ │ └── crunch
│ │ ├── drawable-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ ├── edit_search.png
│ │ │ └── ic_launcher.png
│ │ └── drawable-xxhdpi
│ │ └── ic_launcher.png
│ └── resources.ap_
├── gen
│ └── com
│ └── example
│ └── phonedemo
│ ├── BuildConfig.java
│ └── R.java
├── ic_launcher-web.png
├── libs
│ └── android-support-v4.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ ├── edit_search.png
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ ├── activity_main.xml
│ │ ├── item_phone_item.xml
│ │ └── item_phone_title.xml
│ ├── values
│ │ ├── arrays.xml
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ └── strings.xml
│ └── values-w820dp
│ └── dimens.xml
└── src
└── com
└── example
└── phonedemo
├── HanziToPinyin.java
├── LetterIndexView.java
├── MainActivity.java
├── PhoneAdapter.java
├── PhoneBean.java
└── PinnedSectionListView.java
30 directories, 68 files