导读:重写PageAdapter的方法:public float getPageWidth(int position) { if (position == 0 || position == 2) { return 0.8f; } return 1f; }按比例显示图片 ...
重写PageAdapter的方法:
public float getPageWidth(int position) { if (position == 0 || position == 2) { return 0.8f; } return 1f; }
按比例显示图片