Skip to content

WheelView滚轮控件高度在代码与xml中设置match_parent无效,只有setLineSpacingMultiplier方法设置间距倍数吗?没有提供设置高度的外部方法吗? #1021

@chen-fuhai

Description

@chen-fuhai

`

<com.contrarywind.view.WheelView
    android:id="@+id/options1"
    android:layout_width="0dp"
    android:layout_height="match_parent"
    android:layout_weight="1"
    android:background="@color/text_red_color" />

<com.contrarywind.view.WheelView
    android:id="@+id/options2"
    android:layout_width="0dp"
    android:layout_height="match_parent"
    android:layout_weight="1" />

<com.contrarywind.view.WheelView
    android:id="@+id/options3"
    android:layout_width="0dp"
    android:layout_height="match_parent"
    android:layout_weight="1" />

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions