holder.itemView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
//获取焦点时变化
if (hasFocus) {
/**
*
* @param fromX 起始x轴位置,0为最小,1为原始,float形
* @param toX 同上
* @param fromY 同上T
* @param toY 同上
* @
Android ScaleAnimation缩放动画,RecyclerView item选中放大
最新推荐文章于 2024-05-06 17:27:05 发布