
Android
文章平均质量分 79
bin_123456
这个作者很懒,什么都没留下…
展开
-
Android Intent传递数据
Intent intent = new Intent(First.this,Second.class); startActivity(intent); //使用intent,实现activity之间的跳转 使用Bundle在Activity之间交换数据 Bundle data = new Bundler(); data.putExtra(String name,Xxx value);//向原创 2016-01-06 17:05:22 · 317 阅读 · 0 评论 -
android动画
AnimationsAnimations介绍 一.android是实现android UI界面动画效果的API,animations提供了很多动画效果,例如旋转、平移、缩放、渐入渐出等。这些效果可以运用在绝大多数控件中。 二.animations分类 animation从总体上大概可以分为两类 1.补间动画 该类提供了旋转(rotate)、平移(transl原创 2017-02-07 09:29:30 · 1973 阅读 · 0 评论 -
android 属性动画
ValueAnimator valueAnimator是整个属性动画机制当中最核心的一个类。 简单使用 ValueAnimator anim = ValueAnimator.ofFloat(0f,1f); anim.setDuration(1000); anim.addUpdateListener(new ValueAnimator.AnimatorUpd原创 2017-02-07 15:28:24 · 270 阅读 · 0 评论 -
android屏幕适配
使用wrap_content和match_parent应该在布局中使用wrap_content和match_content来确定它的宽与高。 如果使用了wrap_content,相应视图的宽和高就会被设定成刚好能够包含视图中的内容的最小值。如果使用了match_content则会充满整个布局使用RelativeLayout通过多层嵌套Linearlayout和组合使用wrap_content和ma原创 2017-02-08 16:13:02 · 429 阅读 · 0 评论 -
android Fragment相关问题
fragment常见的一些问题原创 2017-07-31 15:45:54 · 368 阅读 · 0 评论