![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
动画 页面切换
Monster_czy
曾经拥有的不要忘记,难以得到的更要珍惜,属于自己的不要放弃,已经失去的留作回忆。
展开
-
补间动画的实现
public class MainActivity extends Activity { private ImageView img_view; private AlphaAnimation animation; private AlphaAnimation alpha; private ScaleAnimation scaleAnimation;原创 2017-04-10 14:36:09 · 349 阅读 · 0 评论 -
帧动画的实现
public class MainActivity extends Activity { private ImageView img; private AnimationDrawable anima; @SuppressLint("NewApi") @Override protected void onCreate(Bundle savedInsta原创 2017-04-10 14:28:52 · 484 阅读 · 0 评论 -
ViewPager和 Fragment 实现的页面切换
public class MainActivity extends FragmentActivity implements OnCheckedChangeListener{ private ViewPager vpager; private RadioGroup group; private RadioButton but1; private Radio原创 2017-04-10 14:21:53 · 442 阅读 · 0 评论 -
ViewPager无限轮播
public class MainActivity extends Activity { private List img_view; private List dotlist; private ViewPager pager_v; private MyPagerAdapter adapter; private LinearLayout lin原创 2017-04-10 14:16:16 · 274 阅读 · 0 评论 -
ViewPager结合Fragment 实现的页面切换
是否第二次登陆 //记录是否第二次登陆 第二次登陆直接显示界面,然后两秒后跳转 SharedPreferences sp = getSharedPreferences("config", MODE_PRIVATE); SharedPreferences.Editor edit = sp.edit(); //判断是否为空 boolea原创 2017-05-03 21:00:14 · 468 阅读 · 0 评论 -
帧动画的实现
public class MainActivity extends Activity { private ImageView img; private AnimationDrawable anima; @SuppressLint("NewApi") @Override protected void onCreate(Bundle savedInstanceState) {原创 2017-05-03 21:02:37 · 709 阅读 · 0 评论 -
补间动画的实现
public class MainActivity extends Activity { private ImageView img_view; private AlphaAnimation animation; private AlphaAnimation alpha; private ScaleAnimation scaleAnimation; privat原创 2017-05-03 21:03:31 · 472 阅读 · 0 评论 -
Viewpager_Fragment实现的页面滑动
创建四个Fragment类 ——>页面滑动public class MainActivity extends FragmentActivity {private ViewPager vpager; private RadioButton but1; private RadioButton but2; private RadioButton but3; private RadioGroup grou原创 2017-04-16 20:32:20 · 328 阅读 · 0 评论