├── bin ├── classes.dex ├── resources.ap_ ├── ExpandableView.apk ├── res │ └── crunch │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ ├── ic_launcher.png │ │ ├── choosearea_bg_right.9.png │ │ └── index_icon_targetdown_grey.png │ │ └── drawable-xxhdpi │ │ ├── ic_launcher.png │ │ ├── choosebar_line.png │ │ └── index_icon_targetdown_grey.png ├── classes │ └── com │ │ └── example │ │ └── expandableview │ │ ├── R.class │ │ ├── R$id.class │ │ ├── R$anim.class │ │ ├── R$attr.class │ │ ├── R$color.class │ │ ├── R$dimen.class │ │ ├── R$layout.class │ │ ├── R$string.class │ │ ├── R$style.class │ │ ├── BuildConfig.class │ │ ├── R$drawable.class │ │ ├── ExpandableView.class │ │ ├── MainActivity.class │ │ ├── ExpandableView$1.class │ │ ├── ExpandableView$2.class │ │ ├── ExpandableView$3.class │ │ ├── ExpandleItemView.class │ │ ├── ExpandleItemView$1.class │ │ ├── ExpandleItemView$2.class │ │ ├── ExpandleItemView$3.class │ │ ├── adapter │ │ ├── ViewHolder.class │ │ └── MyBaseAdapter.class │ │ └── ExpandleItemView$OnExpandItemClick.class └── AndroidManifest.xml ├── ic_launcher-web.png ├── README.md ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ ├── ic_launcher.png │ ├── choosearea_bg_right.9.png │ └── index_icon_targetdown_grey.png ├── drawable-xxhdpi │ ├── ic_launcher.png │ ├── choosebar_line.png │ └── index_icon_targetdown_grey.png ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml ├── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── layout │ ├── line.xml │ ├── gridview_item.xml │ ├── activity_main.xml │ ├── toggle_button.xml │ └── expand_item_layout.xml ├── drawable │ ├── bottom_selector.xml │ ├── btn_selctor.xml │ ├── grid_item_selected.xml │ └── grid_item_unselected.xml ├── values-w820dp │ └── dimens.xml └── anim │ ├── pophidden_anim.xml │ └── popshow_anim.xml ├── gen └── com │ └── example │ └── expandableview │ ├── BuildConfig.java │ └── R.java ├── project.properties ├── proguard-project.txt ├── AndroidManifest.xml └── src └── com └── example └── expandableview ├── MainActivity.java ├── adapter ├── MyBaseAdapter.java └── ViewHolder.java ├── ExpandleItemView.java └── ExpandableView.java /bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes.dex -------------------------------------------------------------------------------- /bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/resources.ap_ -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/ic_launcher-web.png -------------------------------------------------------------------------------- /bin/ExpandableView.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/ExpandableView.apk -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ExpandableView 2 | #![Alt text](http://img.blog.csdn.net/20160327213413097) 3 | Android 自定义分层级筛选控件 4 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/choosebar_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-xxhdpi/choosebar_line.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/choosearea_bg_right.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-xhdpi/choosearea_bg_right.9.png -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R.class -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$id.class -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/choosebar_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-xxhdpi/choosebar_line.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/index_icon_targetdown_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-xhdpi/index_icon_targetdown_grey.png -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$anim.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$anim.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$attr.class -------------------------------------------------------------------------------- /res/drawable-xxhdpi/index_icon_targetdown_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/res/drawable-xxhdpi/index_icon_targetdown_grey.png -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$color.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$color.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$dimen.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$layout.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$string.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$style.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/BuildConfig.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/R$drawable.class -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/choosearea_bg_right.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-xhdpi/choosearea_bg_right.9.png -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandableView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandableView.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/MainActivity.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandableView$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandableView$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandableView$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandableView$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandableView$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandableView$3.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandleItemView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandleItemView.class -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/index_icon_targetdown_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-xhdpi/index_icon_targetdown_grey.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/index_icon_targetdown_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/res/crunch/drawable-xxhdpi/index_icon_targetdown_grey.png -------------------------------------------------------------------------------- /res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandleItemView$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandleItemView$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandleItemView$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandleItemView$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandleItemView$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandleItemView$3.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/adapter/ViewHolder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/adapter/ViewHolder.class -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/adapter/MyBaseAdapter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/adapter/MyBaseAdapter.class -------------------------------------------------------------------------------- /res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #a6aebb 5 | #90eeeeee 6 | 7 | -------------------------------------------------------------------------------- /bin/classes/com/example/expandableview/ExpandleItemView$OnExpandItemClick.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangmin/ExpandableView/HEAD/bin/classes/com/example/expandableview/ExpandleItemView$OnExpandItemClick.class -------------------------------------------------------------------------------- /gen/com/example/expandableview/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.expandableview; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /res/layout/line.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ExpandableView 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /res/drawable/bottom_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/btn_selctor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | -------------------------------------------------------------------------------- /res/drawable/grid_item_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /res/drawable/grid_item_unselected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /res/layout/gridview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /res/anim/pophidden_anim.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /res/anim/popshow_anim.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-21 15 | -------------------------------------------------------------------------------- /res/layout/toggle_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /res/layout/expand_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 18 | 19 | 21 | 22 |