码迷,mamicode.com
首页 >  
搜索关键字:anim    ( 1129个结果
Unable to execute dex: Multiple dex files define 的解决方法
我们在引入library时可能会出现这个错误比如:[2013-11-05 14:22:15 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/mobile/appstore/listjar/sdk/R$anim;[...
分类:其他好文   时间:2014-08-01 04:38:01    阅读次数:328
Android:activity跳转过渡效果
放在startActivity(intent);后面overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out);更多请看:http://blog.csdn.net/i5suoi/article/details/1...
分类:移动开发   时间:2014-07-31 16:49:36    阅读次数:203
android自定义progressdialog
http://blog.sina.com.cn/s/blog_3e333c4a010133ze.html 1、建立myprogress.xml在 res/anim中 <?xml version="1.0" encoding="UTF-8"?> <animation-list android:oneshot="false" xmlns:android="http://schemas...
分类:移动开发   时间:2014-07-21 13:26:59    阅读次数:224
【安卓】给ViewFlipper加指示器,类似ViewPagerIndicator库提供的那种、!
思路: 1.viewPager有setOnPageChangeListener可以监听切换动作,但viewFlipper却死活没类似的东西。! 此处有一个变种思路,基于animation,animation结束时是有事件的,哈哈,搞定。! viewFlipper.getInAnimation().setAnimationListener( new Animation.Anim...
分类:移动开发   时间:2014-07-12 23:07:57    阅读次数:338
Android三种实现自定义ProgressBar的方式介绍
一、通过动画实现定义res/anim/loading.xml如下:View Row Code二、通过自定义颜色实现定义res/drawable/progress_small.xml如下:View Row Code三、使用一张图片进行自定义定义res/drawable/progress_small.x...
分类:移动开发   时间:2014-07-11 18:07:48    阅读次数:208
android如何做iphone那种图片抖动动画的效果(包括button和EditText)
给按钮做抖动效果,可以这样做,建立anim文件夹在res下面,创建一个button_shake.xml <rotate xmlns:android="http://schemas.android.com/apk/res/android" android:duration="120" android:fromDegrees="-3" android:pivotX="100...
分类:移动开发   时间:2014-07-10 22:47:01    阅读次数:319
PopupWindow添加动画效果
1.定义PopupWindow弹出与消失的两个动画文件,放在anim文件夹下popup_enter.xml popup_exit.xml 2.styles.xml文件中注册这两个动画效果 3.为创建的PopopWindow添加动画inflater = getLayo...
分类:Windows程序   时间:2014-07-06 13:23:38    阅读次数:268
自定义Activity的跳转动画
本来感觉是一个很小的需求, 后来发现老是 出问题, 使用Theme在 4.0上 操作不是很好用. 后来查阅资料, 需要在finish 后面 和 startActivity 后面添加    overridePendingTransition(R.anim.push_right_in,                 R.anim.push_right_out); ...
分类:其他好文   时间:2014-06-27 23:33:51    阅读次数:385
更改UISwitch大小
UISwitch大小总是改不了...找了一个简便方法.?mySwitch = [[UISwitch alloc] initWithFrame: CGRectMake( width - 55, height * .5 - 15, 100, 20)]; [mySwitch setOn: YES anim...
分类:其他好文   时间:2014-06-25 20:15:39    阅读次数:403
Android中的补间动画(tween)的简单使用
相对帧动画,补间动画(tween)可以这么理解:我们不必像帧动画一样指定动画的每一帧,只需定义一个动画的开始和结束关键帧,而中间变化的帧由系统帮我们计算。tween动画可以分为下面几种:AlphaAnimation(透明渐变动画):示例:res/anim/alpha.xml<?xmlversion="1.0"encoding..
分类:移动开发   时间:2014-06-25 10:31:25    阅读次数:295
1129条   上一页 1 ... 110 111 112 113 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!