重寫PageAdapter的方法: spa
public float getPageWidth(int position) { if (position == 0 || position == 2) { return 0.8f; } return 1f; }