-
GameView
Android 游戏框架 View,游戏入门必须了解实例(Android View game framework, game entry must understand the examples)
- 2013-09-05 11:16:59下载
- 积分: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-08-09 17:57:17下载
- 积分:1
-
桌球小游戏
这是一款经典的桌球小游戏的源代码,下载完成之后直接导入Eclipse中即可运行,无需其他操作,简单方便。源码中注释清晰明了,能最大化的降低读者的阅读难度,有兴趣的同学可以下载研究研究。
- 2022-04-14 20:30:45下载
- 积分:1
-
仿UCWEB界面源码
仿UCWEB界面源码,仿UCWEB界面源码,仿UCWEB界面源码,仿UCWEB界面源码,仿UCWEB界面源码
- 2022-03-21 21:40:27下载
- 积分:1
-
android仿来电滑动接听或挂断界面
android仿来电滑动接听或挂断界面,自己写的代码,已经测试过了可以正常使用。
- 2022-12-09 08:10:03下载
- 积分:1
-
Android的快速文件检索
通过递归和Linux底层命令方式实现快速文件检索.可以使查询速度达到秒级.快速的算法调用linux底层..可以使查询速度达到秒级.快速的算法调用linux底层.
- 2022-02-13 20:44:33下载
- 积分:1
-
安卓项目源码
资源描述自己做的身材测评系统,完整的安卓源码,仅供初学者参考
- 2022-04-16 21:05:49下载
- 积分:1
-
Chapter04_UI_WebView
webview的使用,实现在手机上浏览网页(webview used to achieve browsing on mobile phones)
- 2010-12-15 15:09:38下载
- 积分:1
-
Android Layout多种使用方法源码演示
Android Layout多种使用方法源码演示,这个例子中演示了如何使用FrameLayout、如何使用RelativeLayout、如何使用RelativeLayout和LinearLayout以及如何使用TableLayout的例子,都挺实用,平时用的比较多,但是比较基础,android编程打基础的参考范例,示例运行后,单击对应的按钮,演示对应的功能。
- 2022-01-26 00:30:23下载
- 积分:1