Open ChandHsu opened 4 years ago
有一个特殊情况,在一个view内横向显示3个子view,两边的view与父view间隔是20,子view间的间距是5,子view宽度随父view的宽度改变,这种情况下改怎么布局,是不是有现成的,只是我不会用(Offset?); 或者,是不是可以在ratio的基础上,加一个偏移量?
有一个特殊情况,在一个view内横向显示3个子view,两边的view与父view间隔是20,子view间的间距是5,子view宽度随父view的宽度改变,这种情况下改怎么布局,是不是有现成的,只是我不会用(Offset?); 或者,是不是可以在ratio的基础上,加一个偏移量?