Android ViewGroup.setScaleX() cause the view to be clipped

前端 未结 5 1091
鱼传尺愫
鱼传尺愫 2021-01-02 14:21

I use NineOldAndroids library to scale my custom layout.

public class MyLayout extends FrameLayout {
  // LayoutParams.MATCH_PARENT and all.
  ...
  @Overrid         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 15:16

    Use ViewGroup.layout. It may be the easiest way to scale(&move) ViewGroup.

提交回复
热议问题