-
android 设置头像、裁剪头像(从相册和拍照裁剪)实例源码下载
android 设置头像、裁剪头像(从相册和拍照裁剪)实例源码下载
- 2015-02-06下载
- 积分:1
-
android 图片浏览器 完整实例源码下载
android 图片浏览器 完整实例源码下载
- 2014-05-13下载
- 积分:1
-
android 实现圆形菜单
private void computeCoordinates() { BigStone stone; BigStone menus; for (int index = 0; index < STONE_COUNT; index ) { stone = mStones[index]; stone.x = mPointX (float) (mRadius * Math.cos(stone.angle * Math.PI / 180)); stone.y = mPointY (float) (mRadius * Math.sin(stone.angle * Math.PI / 180)); } if (flag == 0) { for (int i = 0; i < MENUS; i ) { menus = mMenus[i]; switch (i) { case 0: menus.x = 300 * 1.8f; menus.y = 50; break; case 1: menus.x = 300 * 1.8f 100; menus.y = 50; break; case 2: menus.x = 300 * 1.8f 200; menus.y = 50; break; case 3: menus.x = 300 * 1.8f; menus.y = 150; break; case 4: menus.x = 300 * 1.8f 10 100; menus.y = 250; break; } } } }
- 2014-06-22下载
- 积分:1
-
android通用开发UI框架(选项卡)
是一个非常简单,快捷的选项卡框架
- 2015-06-23下载
- 积分:1
-
android localtion 定位例子
android localtion 定位例子
- 2014-09-22下载
- 积分:1
-
MAU4-40,-55,-70图谱
螺旋桨图谱设计,MAU4-40,-55,-70图谱
- 2019-06-11下载
- 积分:1
-
Android TableLayout 布局实例
Android_TableLayout.zip 布局实例下载
- 2013-03-16下载
- 积分: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
-
android
android
- 2013-07-09下载
- 积分:1
-
android 异步post发送请求获取json
异步post发送请求获取json,有完整的demo,完整的jar包
- 2014-10-21下载
- 积分:1