anim raw colors
radiobutton 去掉圈 button="@null"
<!-- android:divider="#ff0000"
android:dividerHeight="1dp"改变分割线的颜色
android:fastScrollEnabled="true"支持快速滑动
当条目足够多的时候,,,屏幕展示条数3倍以上的时候,这个滑块就起作用了
-->
setpositivebutton 积极的
setnegativebutton 消极的
pop.set 有4个
popupWindow.setFocusable(true);
popupWindow.setTouchable(true);
popupWindow.setOutsideTouchable(true);
popupWindow.setBackgroundDrawable(new BitmapDrawable());
删除
数组+remove+(第几个)
notifydatasetchanged();刷新页面
OnScrollListener.SCROLL_STATE_FLING 惯性滑动的状态
* OnScrollListener.SCROLL_STATE_IDLE 静止状态
* OnScrollListener.SCROLL_STATE_TOUCH_SCROLL手动拖动的状态
* listView.getLastVisiblePosition()得到listView最后可见条目的位置
listview 的下划线 divider
去掉2级列表前面的三角 exl.setGroupIndicator(null);
* int fromXType,指定开始位置X轴上坐标的类型Animation.ABSOLUTE绝对数值的类型, Animation.RELATIVE_TO_SELF相对自己, Animation.RELATIVE_TO_PARENT相对父控件,一般用的都是这个.
TranslateAnimation translateAnimation = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f);
//指定动画的时长
translateAnimation.setDuration(3000);
//设置重复的次数....总共运行了重复次数+1
translateAnimation.setRepeatCount(2);
//设置重复的模式...默认的是重新开始Animation.RESTART....Animation.REVERSE反转
translateAnimation.setRepeatMode(Animation.REVERSE);
//设置动画结束以后保持最后的状态
translateAnimation.setFillAfter(true);
//开始动画
imageView.startAnimation(translateAnimation);
移动 TranslateAnimation translateAnimation = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f);
旋转 RotateAnimation rotateAnimation = new RotateAnimation(90f, 360f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
透明 AlphaAnimation alphaAnimation = new AlphaAnimation(0.0f, 1.0f);
缩放 ScaleAnimation scaleAnimation = new ScaleAnimation(1.0f, 0.5f, 1.0f, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
组合 AnimationSet animationSet = new AnimationSet(true);
overridePendingTransition 页面的动漫
radiobutton 去掉圈 button="@null"
<!-- android:divider="#ff0000"
android:dividerHeight="1dp"改变分割线的颜色
android:fastScrollEnabled="true"支持快速滑动
当条目足够多的时候,,,屏幕展示条数3倍以上的时候,这个滑块就起作用了
-->
setpositivebutton 积极的
setnegativebutton 消极的
pop.set 有4个
popupWindow.setFocusable(true);
popupWindow.setTouchable(true);
popupWindow.setOutsideTouchable(true);
popupWindow.setBackgroundDrawable(new BitmapDrawable());
删除
数组+remove+(第几个)
notifydatasetchanged();刷新页面
OnScrollListener.SCROLL_STATE_FLING 惯性滑动的状态
* OnScrollListener.SCROLL_STATE_IDLE 静止状态
* OnScrollListener.SCROLL_STATE_TOUCH_SCROLL手动拖动的状态
* listView.getLastVisiblePosition()得到listView最后可见条目的位置
listview 的下划线 divider
去掉2级列表前面的三角 exl.setGroupIndicator(null);
* int fromXType,指定开始位置X轴上坐标的类型Animation.ABSOLUTE绝对数值的类型, Animation.RELATIVE_TO_SELF相对自己, Animation.RELATIVE_TO_PARENT相对父控件,一般用的都是这个.
TranslateAnimation translateAnimation = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f);
//指定动画的时长
translateAnimation.setDuration(3000);
//设置重复的次数....总共运行了重复次数+1
translateAnimation.setRepeatCount(2);
//设置重复的模式...默认的是重新开始Animation.RESTART....Animation.REVERSE反转
translateAnimation.setRepeatMode(Animation.REVERSE);
//设置动画结束以后保持最后的状态
translateAnimation.setFillAfter(true);
//开始动画
imageView.startAnimation(translateAnimation);
移动 TranslateAnimation translateAnimation = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.7f);
旋转 RotateAnimation rotateAnimation = new RotateAnimation(90f, 360f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
透明 AlphaAnimation alphaAnimation = new AlphaAnimation(0.0f, 1.0f);
缩放 ScaleAnimation scaleAnimation = new ScaleAnimation(1.0f, 0.5f, 1.0f, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
组合 AnimationSet animationSet = new AnimationSet(true);
overridePendingTransition 页面的动漫