- 博客(24)
- 资源 (11)
- 收藏
- 关注
转载 谷歌教你5天搞定产品设计
转载于 http://www.360doc.com/content/15/1019/23/20041187_506858977.shtml散文吧>谷歌,产品设计>谷歌教你5天搞定产品设计谷歌教你5天搞定产品设计2016-06-11 02:23昌和楼宇 推荐100次谷歌教你5天搞定产品设计一个好的开始是成
2016-06-27 17:36:25
554
原创 CABasicAnimation 给layer改变颜色不起作用的原因
是因为对应的view bgcolor为白色所以不起作用去掉背景色设置就好了
2016-06-22 22:42:43
2207
转载 干货系列之手把手教你使用Core animation 做动画
转载于http://ios.jobbole.com/84329/原文出处: Airfei 源码下载:源码最近在技术群里,有人发了一张带有动画效果的图片。觉得很有意思,便动手实现了一下。在这篇文章中你将会学到Core Animation显式动画中的关键帧动画、组合动画、CABasicAnimation动画。先上一张原图的动画效果。点击此查看原图动画
2016-06-21 16:43:58
615
转载 iOS开发系列--让你的应用“动”起来
转载于http://www.cnblogs.com/kenshincui/p/3972100.html概览在iOS中随处都可以看到绚丽的动画效果,实现这些动画的过程并不复杂,今天将带大家一窥iOS动画全貌。在这里你可以看到iOS中如何使用图层精简非交互式绘图,如何通过核心动画创建基础动画、关键帧动画、动画组、转场动画,如何通过UIView的装饰方法对这些动画操作进行
2016-06-21 16:32:38
384
原创 android studio 通过build.gradle修改debug.keystore为自己的keystore方法
signingConfigs { release { storeFile file("smy.keystore") storePassword "" keyAlias "" keyPassword "" }}buildTypes { release { minifyEnabled fals
2016-06-20 15:39:16
1321
原创 生产apk自动添加了 READ_PHONE_STATE 权限
这个是因为代码里 或者关联包 没有在AndroidStudio设置minSDK 设置大于144是会自动添加该权限的\build\outputs\logs\manifest-merger-debug-report.txt可以看到是那个library添加了哪个权限,找到根源
2016-06-20 15:16:32
2183
转载 Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:T
转载于http://stackoverflow.com/questions/35017030/android-project-build-fails-with-error-retrieving-parent-for-item-no-resource-f更新Downgrade the Play Services to 7.5.0Upgrade compileSdk and s
2016-06-19 12:16:18
509
转载 Android TransitionDrawable ImageView过度效果使用实例
转载于 http://www.2cto.com/kf/201412/363133.html实现两张图片渐隐渐现的过渡效果Transition Drawable实现两张图片之间动态过度效果的方式。运行如下所示:第一张为初始界面,第二张为过度中界面,第三张为过渡结束新建一个TransitionDrawable的Android工程。目录结构:主界面
2016-06-17 11:22:42
1394
转载 AndroidManifest.xml文件详解(supports-gl-texture)
转载于 http://ajuanlove.iteye.com/blog/1547531语法(SYNTAX):android:name="string"/>被包含于(CONTAINED IN):说明(DESCRIPTION):这个元素用于声明一个应用程序所支持的GL纹理压缩格式。一个应用程序支持一种纹理压缩格式,如果应用程序提供了用
2016-06-17 11:13:06
406
转载 Android性能专项测试之Batterystats
转载于 http://www.2cto.com/kf/201510/445482.htmlBatterystats & Battery Historian WalkthroughBattery Historian ChartsAndroid应用的耗电量统计SupplicantStatebatterystats使用条件5.0以上系统 battery-h
2016-06-17 10:51:46
1239
转载 Android 5.0学习之动画
http://blog.csdn.net/ljx19900116/article/details/41806917前言用户跟你的App进行交互时,Material Design中的动画给予用户动作的反馈和提供视觉的一致感。包括之前我学习过的:Activity transitions(Activity过渡效果)Animate Vector Dr
2016-06-16 01:22:46
511
转载 ANDROID L - Material Design详解(视图和阴影)
转载于http://www.open-open.com/lib/view/open1416664217867.htmlAndroid L:Google已经确认Android L就是Android Lollipop(5.0)。Google之前就已经提前推出了Android L Developer Preview(开发者预览版)来帮助开发者更
2016-06-15 13:44:06
666
原创 Editable和Selection来设置edittext所在的位置
Editable etable = mEditText.getText();Selection.setSelection(etable, location);这样就可以设置,selection类还有多选的功能
2016-06-14 22:03:38
1029
转载 android.support.design.widget.TabLayout
<android.support.design.widget.TabLayout android:id="@+id/id_tablayout" android:layout_width="match_parent" android:layout_height="wrap_content" app:tab
2016-06-13 23:22:23
433
原创 RecyclerView setHasFixedSize(true); 的作用
RecyclerView size changes every time you add something no matter what. What setHasFixedSize does is that it makes sure (by user input) that this change of size of RecyclerView is constant. The heigh
2016-06-13 00:48:24
32228
1
原创 Glide 3.7如何实现圆形Transformation
一直想解决 这个问题,但是发现网上的方式 Glide.with(context) .load(Api.getAvatarMediumUrl(user.getUid())) .error(R.drawable.ic_drawer_avatar_placeholder) .signature(
2016-06-13 00:20:13
2777
转载 Android 触摸及手势操作GestureDetector
示例下载参考:http://developer.android.com/reference/android/view/GestureDetector.htmlhttp://developer.android.com/training/gestures/detector.htmlhttp://blog.csdn.net/xyz_lmn/ar
2016-06-12 15:58:00
408
转载 statusbar 纯白色的解决方案 android:fitsSystemWindows
在根xml 里要设置android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/
2016-06-11 14:58:32
2295
转载 Jump to Section Overview Usage Floating Action Icons Design Support Library Animating the Floating A
http://guides.codepath.com/android/Floating-Action-Buttons#using-coordinatorlayoutOverviewFloating action buttons (or FAB) are: “A special case of promoted actions. They are distingu
2016-06-11 12:14:34
871
转载 实现MaterialDesign的EditText
android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content"> EditText android:id="@+id/password" android:layout_
2016-06-11 11:09:10
1581
原创 自定义空间怎么在context传入activity给空间操作
xmlns:tools="http://schemas.android.com/tools"tools:context="com.lin.activity.CategoryDetailActivity"在xml加上这句就好了
2016-06-10 22:43:25
543
转载 链表高级算法--1
一、链表选择排序[cpp] view plain copy void SelectSort(pLinkList list) //选择排序 { assert(list); if (NULL == list->pHead || NULL ==list->pHead->next) /
2016-06-09 20:59:13
460
原创 ImageView centerInside时setImageBitmap图片过小的解决方式
BitmapFactory.Options opts = new BitmapFactory.Options();// opts.inSampleSize = 4; Bitmap bitmap = BitmapFactory.decodeFile(path, opts); int originalWidth = bitmap.getWidth();
2016-06-08 12:43:47
1834
原创 UIScrollView的PageEnable可以实现slider
当pageenable = YES时会自动翻页,如果等于NO时就是uiscrollview那样的平滑滚动效果了
2016-06-01 13:46:49
1148
Learn Objective-C on the Mac eBook.pdf (incl. examples) 包含全代码
2012-07-21
JavaScript权威指南(第6版)pdf(彩页)
2012-06-21
控制系统仿真与SIMULINK(PPT+程序)
2011-06-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人