Skip to content

Repository files navigation

Android-Filter-View

DownloadBuild StatusMaven

Gradle Dependency

buildscript {
repositories {
jcenter()
}
}
dependencies {
implementation "cn.wzbos.android.widget:filterview:1.0.0"
}

layout

 <com.wzbos.android.widget.filter.FilterGroupViewandroid:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ffffffff" android:divider="@drawable/divider" android:orientation="horizontal" android:padding="10dp" android:showDividers="middle"> <com.wzbos.android.widget.filter.FilterView android:id="@+id/area_filter" android:layout_width="0dp"
android:layout_height="match_parent"android:layout_weight="1"app:expandedViewHeight="300dp"app:text="Area" />
<com.wzbos.android.widget.filter.FilterViewandroid:id="@+id/price_filter"android:layout_width="0dp"android:layout_height="match_parent"android:layout_weight="1"app:expandedViewHeight="300dp"app:text="Price" />
<com.wzbos.android.widget.filter.FilterViewandroid:id="@+id/sort_filter"android:layout_width="0dp"android:layout_height="match_parent"android:layout_weight="1"app:collapseIcon="@mipmap/ic_filter_normal"app:expandedIcon="@mipmap/ic_filter_selected"app:expandedViewHeight="300dp"app:text="Sort" />
</com.wzbos.android.widget.filter.FilterGroupView>

setExpandedView

FilterViewfilterView = findViewById(R.id.area_filter);
filterView.setExpandedView(view);

About

FilterView for Android 安卓下拉筛选组件

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages