mySpinner.zip
资源来源:本地上传资源
文件类型:ZIP
大小:1.79MB
评分:
5.0
上传者:feiyangxiaomi
更新日期:2013-10-29

自定义spinner

资源文件列表(大概)

文件名
大小
TestSpinner2-master/
-
TestSpinner2-master/.classpath
466B
TestSpinner2-master/.project
815B
TestSpinner2-master/.settings/
-
TestSpinner2-master/.settings/org.eclipse.jdt.core.prefs
173B
TestSpinner2-master/AndroidManifest.xml
864B
TestSpinner2-master/assets/
-
TestSpinner2-master/bin/
-
TestSpinner2-master/bin/AndroidManifest.xml
864B
TestSpinner2-master/bin/TestSpinner2.apk
273.24KB
TestSpinner2-master/bin/classes/
-
TestSpinner2-master/bin/classes/com/
-
TestSpinner2-master/bin/classes/com/example/
-
TestSpinner2-master/bin/classes/com/example/testspinner2/
-
TestSpinner2-master/bin/classes/com/example/testspinner2/BuildConfig.class
357B
TestSpinner2-master/bin/classes/com/example/testspinner2/MainActivity$1.class
1.32KB
TestSpinner2-master/bin/classes/com/example/testspinner2/MainActivity$2.class
978B
TestSpinner2-master/bin/classes/com/example/testspinner2/MainActivity$3.class
1.8KB
TestSpinner2-master/bin/classes/com/example/testspinner2/MainActivity.class
4.58KB
TestSpinner2-master/bin/classes/com/example/testspinner2/MyspinnerAdapter$ViewHolder.class
661B
TestSpinner2-master/bin/classes/com/example/testspinner2/MyspinnerAdapter.class
3.13KB
TestSpinner2-master/bin/classes/com/example/testspinner2/R$array.class
409B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$attr.class
358B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$color.class
519B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$dimen.class
479B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$drawable.class
1.3KB
TestSpinner2-master/bin/classes/com/example/testspinner2/R$id.class
699B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$layout.class
510B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$menu.class
406B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$string.class
490B
TestSpinner2-master/bin/classes/com/example/testspinner2/R$style.class
449B
TestSpinner2-master/bin/classes/com/example/testspinner2/R.class
841B
TestSpinner2-master/bin/classes.dex
615.57KB
TestSpinner2-master/bin/dexedLibs/
-
TestSpinner2-master/bin/dexedLibs/android-support-v4-574173668a724bbcd0d243cfca2bb224.jar
206.37KB
TestSpinner2-master/bin/dexedLibs/android-support-v4-5e4a707511750d11be6ba9e5ecd3db9d.jar
206.37KB
TestSpinner2-master/bin/dexedLibs/android-support-v4-983a1148a0a653aacd9d5b63ba49ae37.jar
206.37KB
TestSpinner2-master/bin/jarlist.cache
119B
TestSpinner2-master/bin/res/
-
TestSpinner2-master/bin/res/drawable-hdpi/
-
TestSpinner2-master/bin/res/drawable-hdpi/ic_launcher.png
5.82KB
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_first_normal.9.png
641B
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_first_pressed.9.png
629B
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_last_normal.9.png
734B
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_last_pressed.9.png
617B
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_normal.9.png
248B
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_pressed.9.png
252B
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_single_normal.9.png
1.07KB
TestSpinner2-master/bin/res/drawable-hdpi/ic_preference_single_pressed.9.png
1.03KB
TestSpinner2-master/bin/res/drawable-hdpi/mm_submenu_dropdown.png
527B
TestSpinner2-master/bin/res/drawable-mdpi/
-
TestSpinner2-master/bin/res/drawable-mdpi/ic_launcher.png
3.04KB
TestSpinner2-master/bin/res/drawable-xhdpi/
-
TestSpinner2-master/bin/res/drawable-xhdpi/back_but_defaults.png
1.01KB
TestSpinner2-master/bin/res/drawable-xhdpi/exhibition_arrow.png
597B
TestSpinner2-master/bin/res/drawable-xhdpi/exhibition_normal.png
158B
TestSpinner2-master/bin/res/drawable-xhdpi/exhibition_selected.png
650B
TestSpinner2-master/bin/res/drawable-xhdpi/exhibition_seperate_line.png
113B
TestSpinner2-master/bin/res/drawable-xhdpi/exhibition_title_bg.png
190B
TestSpinner2-master/bin/res/drawable-xhdpi/ic_launcher.png
9.14KB
TestSpinner2-master/bin/res/drawable-xhdpi/search_button.png
2.03KB
TestSpinner2-master/bin/res/drawable-xxhdpi/
-
TestSpinner2-master/bin/res/drawable-xxhdpi/ic_launcher.png
17.47KB
TestSpinner2-master/bin/resources.ap_
59.04KB
TestSpinner2-master/gen/
-
TestSpinner2-master/gen/com/
-
TestSpinner2-master/gen/com/example/
-
TestSpinner2-master/gen/com/example/testspinner2/
-
TestSpinner2-master/gen/com/example/testspinner2/BuildConfig.java
166B
TestSpinner2-master/gen/com/example/testspinner2/R.java
4.69KB
TestSpinner2-master/ic_launcher-web.png
50.19KB
TestSpinner2-master/libs/
-
TestSpinner2-master/libs/android-support-v4.jar
543.16KB
TestSpinner2-master/proguard-project.txt
781B
TestSpinner2-master/project.properties
579B
TestSpinner2-master/res/
-
TestSpinner2-master/res/drawable/
-
TestSpinner2-master/res/drawable/preference_first_item.xml
454B
TestSpinner2-master/res/drawable/preference_item.xml
436B
TestSpinner2-master/res/drawable/preference_last_item.xml
451B
TestSpinner2-master/res/drawable/preference_single_item.xml
457B
TestSpinner2-master/res/drawable-hdpi/
-
TestSpinner2-master/res/drawable-hdpi/ic_launcher.png
7.48KB
TestSpinner2-master/res/drawable-hdpi/ic_preference_first_normal.9.png
413B
TestSpinner2-master/res/drawable-hdpi/ic_preference_first_pressed.9.png
433B
TestSpinner2-master/res/drawable-hdpi/ic_preference_last_normal.9.png
482B
TestSpinner2-master/res/drawable-hdpi/ic_preference_last_pressed.9.png
444B
TestSpinner2-master/res/drawable-hdpi/ic_preference_normal.9.png
144B
TestSpinner2-master/res/drawable-hdpi/ic_preference_pressed.9.png
147B
TestSpinner2-master/res/drawable-hdpi/ic_preference_single_normal.9.png
730B
TestSpinner2-master/res/drawable-hdpi/ic_preference_single_pressed.9.png
741B
TestSpinner2-master/res/drawable-hdpi/mm_submenu_dropdown.png
581B
TestSpinner2-master/res/drawable-ldpi/
-
TestSpinner2-master/res/drawable-mdpi/
-
TestSpinner2-master/res/drawable-mdpi/ic_launcher.png
3.69KB
TestSpinner2-master/res/drawable-xhdpi/
-
TestSpinner2-master/res/drawable-xhdpi/back_but_defaults.png
3.89KB
TestSpinner2-master/res/drawable-xhdpi/exhibition_arrow.png
3.26KB
TestSpinner2-master/res/drawable-xhdpi/exhibition_normal.png
2.89KB
TestSpinner2-master/res/drawable-xhdpi/exhibition_selected.png
3.45KB
TestSpinner2-master/res/drawable-xhdpi/exhibition_seperate_line.png
2.7KB
TestSpinner2-master/res/drawable-xhdpi/exhibition_title_bg.png
2.9KB
TestSpinner2-master/res/drawable-xhdpi/ic_launcher.png
12.22KB
TestSpinner2-master/res/drawable-xhdpi/search_button.png
4.68KB
TestSpinner2-master/res/drawable-xxhdpi/
-
TestSpinner2-master/res/drawable-xxhdpi/ic_launcher.png
24.2KB
TestSpinner2-master/res/layout/
-
TestSpinner2-master/res/layout/activity_main.xml
1.63KB
TestSpinner2-master/res/layout/mypinner_dropdown.xml
465B
TestSpinner2-master/res/layout/myspinner_dropdown_items.xml
838B
TestSpinner2-master/res/menu/
-
TestSpinner2-master/res/menu/main.xml
254B
TestSpinner2-master/res/values/
-
TestSpinner2-master/res/values/arrays.xml
212B
TestSpinner2-master/res/values/colors.xml
243B
TestSpinner2-master/res/values/dimens.xml
213B
TestSpinner2-master/res/values/strings.xml
222B
TestSpinner2-master/res/values/styles.xml
680B
TestSpinner2-master/res/values-sw600dp/
-
TestSpinner2-master/res/values-sw600dp/dimens.xml
196B
TestSpinner2-master/res/values-sw720dp-land/
-
TestSpinner2-master/res/values-sw720dp-land/dimens.xml
269B
TestSpinner2-master/res/values-v11/
-
TestSpinner2-master/res/values-v11/styles.xml
324B
TestSpinner2-master/res/values-v14/
-
TestSpinner2-master/res/values-v14/styles.xml
381B
TestSpinner2-master/src/
-
TestSpinner2-master/src/com/
-
TestSpinner2-master/src/com/example/
-
TestSpinner2-master/src/com/example/testspinner2/
-
TestSpinner2-master/src/com/example/testspinner2/MainActivity.java
3.41KB
TestSpinner2-master/src/com/example/testspinner2/MyspinnerAdapter.java
2.07KB

资源内容介绍

下拉列表在android中自带spinner的有时候不太适合我们的界面,我们希望有自己的一种显示方法,那怎么办?自定义Spinner.效果如QQ账号选择一样。

用户评论 (0)

相关资源

Android仿微信、支付宝钱包宫格界面Demo

博文源码,文章链接:http://blog.csdn.net/airsaid/article/details/50588728

2.68MB15金币

50余款手机页面的模版源码 种类多 足够大家使用(极力推荐)

50余款手机页面模版源码,美观大气,酷炫特效,布局排版,遵循W3C规范。

79.3MB30金币

android点九图片制作工具

点九图片制作工具,比android自带的工具方便,快捷,.9,点9

767.05KB22金币

AndroidSwitchDemo各种开关样式

AndroidSwitchDemo各种开关样式

290.09KB22金币

SlidingMenu实现当前最流行的侧滑,兼容android2.1

通过SlidingMenu+Fragment实现当前最流行的侧滑,兼容低本版sdk,android2.1.此demo来自网络开源项目:https://github.com/jfeinstein10/SlidingMenu

5.36MB22金币

大麦抢票+源代码+辅助工具+详细文档教程

大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python大麦抢票+辅助工具+源代码+供参考+自动抢票+详细文档教程+亲测可运行+基于python

23.32MB27金币

ExpandableListViewDemo

有时候,使用ListView并不能满足应用程序所需要的功能。有些应用程序需要多组ListView,这时候我们就要使用一种新的控件ExpandableListView——可以扩展的ListView。它的作用就是将ListView进行分组。就好像我们使用QQ的时候,有“我的好友”,“陌生人”,“黑名单”一样,点击一下会扩展开,再点击一下又会收缩回去。ExpandableListView是一个垂直滚动显示两级列表项的视图,与ListView不同的是,它可以有两层:每一层都能够被独立的展开并显示其子项。这些子项来自于与该视图关联的ExpandableListAdapter。每一个可以扩展的列表项的旁边都有一个指示符(箭头)用来说明该列表项目前的状态(这些状态一般是已经扩展开的列表项,还没有扩展开的列表项,子列表项和最后一个子列表项)。可以使用方法:setChildIndicator(Drawable),setGroupIndicator(Drawable)(或者相应的XML文件的属性) 去设置这些指示符的样式。当然也可以使用默认的指示符。布android.R.layout.simple_expandable_list_item_1,android.R.layout.simple_expandable_list_item_2和ListView一样,ExpandableListView也是一个需要Adapter作为桥梁来取得数据的控件。一般适用于ExpandableListView的Adapter都要继承BaseExpandableListAdapter这个类,并且必须重载getGroupView和getChildView这两个最为重要的方法。BaseExpandableListAdapter的主要重载方法如下:public abstract ObjectgetChild (int groupPosition, int childPosition)取得与指定分组、指定子项目关联的数据.参数groupPosition 包含子视图的分组的位置.childPosition 指定的分组中的子视图的位置.返回与子视图关联的数据.public abstract long getChildId (int groupPosition, intchildPosition)取得给定分组中给定子视图的ID. 该组ID必须在组中是唯一的.必须不同于其他所有ID(分组及子项目的ID).参数groupPosition 包含子视图的分组的位置.childPosition 要取得ID的指定的分组中的子视图的位置.返回与子视图关联的ID.public abstract View getChildView (int groupPosition, intchildPosition, boolean isLastChild, View convertView, ViewGroup parent)取得显示给定分组给定子位置的数据用的视图.参数groupPosition 包含要取得子视图的分组位置.childPosition 分组中子视图(要返回的视图)的位置.isLastChild 该视图是否为组中的最后一个视图.convertView 如果可能,重用旧的视图对象.使用前你应该保证视图对象为非空,并且是否是合适的类型.如果该对象不能转换为可以正确显示数据的视图,该方法就创建新视图.不保证使用先前由 getChildView(int, int,boolean, View, ViewGroup)创建的视图.parent 该视图最终从属的父视图.返回指定位置相应的子视图.public abstract int getChildrenCount (int groupPosition)取得指定分组的子元素数.参数groupPosition 要取得子元素个数的分组位置.返回指定分组的子元素个数.public abstract long getCombinedChildId (long groupId, long childId)取得一览中可以唯一识别子条目的 ID(包括分组ID和子条目ID).可扩展列表要求每个条目 (分组条目和子条目)具有一个可以唯一识别列表中子条目和分组条目的ID. 该方法根据给定子条目ID和分组条目ID返回唯一识别ID.另外,如果 hasStableIds() 为真,该函数返回的ID必须是固定不变的.参数groupId 包含子条目ID的分组条目ID.childId 子条目的ID.返回可以在所有分组条目和子条目中唯一识别该子条目的ID(可能是固定不变的).public abstract long getCombinedGroupId (long groupId)取得一览中可以唯一识别子条目的 ID(包括分组ID和子条目ID).可扩展列表要求每个条目 (分组条目和子条目)具有一个可以唯一识别列表中子条目和分组条目的ID. 该方法根据给定子条目ID和分组条目ID返回唯一识别ID.另外,如果 hasStableIds() 为真,该函数返回的ID必须是固定不变的.参数groupId 分组条目ID.返回可以在所有分组条目和子条目中唯一识别该分组条目的ID(可能是固定不变的).public abstract Object getGroup (int groupPosition)取得与给定分组关联的数据.参数groupPosition 分组的位置.返回指定分组的数据.public abstract int getGroupCount ()取得分组数.返回分组数.public abstract long getGroupId (int groupPosition)取得指定分组的ID.该组ID必须在组中是唯一的.必须不同于其他所有ID(分组及子项目的ID).参数groupPosition 要取得ID的分组位置.返回与分组关联的ID.public abstract View getGroupView (int groupPosition, booleanisExpanded, View convertView, ViewGroup parent)取得用于显示给定分组的视图. 这个方法仅返回分组的视图对象, 要想获取子元素的视图对象,就需要调用 getChildView(int, int, boolean, View, ViewGroup).参数groupPosition 决定返回哪个视图的组位置 .isExpanded 该组是展开状态还是收起状态 .convertView 如果可能,重用旧的视图对象.使用前你应该保证视图对象为非空,并且是否是合适的类型.如果该对象不能转换为可以正确显示数据的视图,该方法就创建新视图.不保证使用先前由 getGroupView(int, boolean,View, ViewGroup)创建的视图.parent 该视图最终从属的父视图.返回指定位置相应的组视图.public abstract boolean hasStableIds ()是否指定分组视图及其子视图的ID对应的后台数据改变也会保持该ID.返回是否相同的ID总是指向同一个对象.public abstract boolean isChildSelectable (int groupPosition, intchildPosition)指定位置的子视图是否可选择.参数groupPosition 包含要取得子视图的分组位置.childPosition 分组中子视图的位置.返回是否子视图可选择.注意:在XML布局文件中,如果ExpandableListView上一级视图的大小没有严格定义的话,则不能对ExpandableListView的android:layout_height 属性使用wrap_content值。 (例如,如果上一级视图是ScrollView的话,则不应该指定wrap_content的值,因为它可以是任意的长度。不过,如果ExpandableListView的上一级视图有特定的大小的话,比如100像素,则可以使用wrap_content)如果由于开发的时候粗心,对ExpandableListView指定wrap_content的值,则会报一个在SetContentView处的空指针错误。

438.9KB21金币

高仿qq最新安卓版头像裁剪

高仿qq最新安卓版头像裁剪,详情查看csdn博客:http://blog.csdn.net/baiyuliang2013

1.25MB25金币

webUploader Demo源码下载

web Uploader demo (有修改)百度云及我遇到的问题汇总: https://blog.csdn.net/wx11408115/article/details/70215714

254.39KB11金币

android流式布局

android 流式布局,可以设置水平垂直间隔

1.17MB29金币

Android 仿微信朋友圈9宫格图片展示&多选图片

博文源码 博文链接:http://blog.csdn.net/airsaid/article/details/51026447

5.38MB23金币

android 日历控件 实现日历月份切换,给某一天加标记

android 日历控件 实现日历月份切换,给某一天加标记等功能 http://blog.csdn.net/idle_thing/article/details/17645831

964.21KB17金币