android 自定义view 里onMeasure方法里使用getWidth()=0

    xiaoxiao2021-12-02  14

    要使用如下方法获取view宽高 int width = getMeasuredWidth()); int height = getMeasuredHeight());
    转载请注明原文地址: https://ju.6miu.com/read-679867.html

    最新回复(0)