-
slidingdrawer
安卓动态壁纸,一个简单的小程序,但是很华丽,我很喜欢(Android live wallpaper, a simple procedure, but it is gorgeous, I love it)
- 2012-09-26 17:57:57下载
- 积分:1
-
android联系人带字母检索源码
android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
- 2014-04-13下载
- 积分:1
-
硬的按钮
禁用手机上的所有操作
- 2022-02-05 17:44:56下载
- 积分:1
-
Android 自动获取短信的验证码
Android实现自动获取短信的验证码,这是一个内部类,用于监听短信,如果是特定的电话号码的,则取出验证码,这里做实验,同样不管接到谁的短信,都取出连续六位数字,6个数字的正则表达式可以这样写:private String patternCoder = "(?
- 2022-01-25 16:35:06下载
- 积分:1
-
easypermissions
说明: easypermissions框架的用法(Usage of easypermissions framework)
- 2019-06-04 09:42:35下载
- 积分:1
-
小球的运动
小球的运动轨迹,安卓游戏开发,在view内用keyborad控制小球的上下左右方向,小球在移动过程中会留下移动轨迹
- 2022-04-22 15:58:49下载
- 积分:1
-
SimpleDateFormatTest
Simple Date Format Test Source Code for Andriod.
- 2013-10-24 10:53:27下载
- 积分:1
-
Android LinerLayout动态设置列表
仿listview、
RecycleListView列表显示
- 2023-06-01 02:40:08下载
- 积分:1
-
GameView
Android 游戏框架 View,游戏入门必须了解实例(Android View game framework, game entry must understand the examples)
- 2013-09-05 11:16:59下载
- 积分:1
-
MapTester
一个android下开发百度地图的测试代码,与大家分享(An android development Baidu map under the test code, and share with you)
- 2017-03-15 22:24:07下载
- 积分:1