重寫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; }
按比例顯示圖檔