摘要:
用ViewFlipper实现左右滑屏操作:1.注册ViewFilpper2.滑动动画:slideLeftOut.xml: slideRightOut.xml: 3.viewFilpper添加子view:viewFlipper.addView(mListView);viewFlipper.addView(mListView1);viewFlipper.addView(mListView2);子view监听onTouchEvent事件拦截子View的onTouchEvent事件 @Override public boolean onTouch(View v, MotionE... 阅读全文
摘要:
1.获取versionName,versionCode try { String version = this.getPackageManager().getPackageInfo(getPackageName(),0).versionName; int versionCode = this.getPackageManager().getPackageInfo(getPackageName(), 0).versionCode; } catch (NameNotFoundException e) { /... 阅读全文