android中slider控件,range-slider-view
特点:Ripple effect on Android Lollipop devicesOption to set custom colors for slider可以设置slider的自定义颜色build.gradle:dependencies{compile'com.chan.rsv:rsv:1.0.0'}把com.chan.rsv.RangeSliderView添加到布局。xmlns:a..
特点:Ripple effect on Android Lollipop devices
Option to set custom colors for slider可以设置slider的自定义颜色
build.gradle:dependencies {
compile 'com.chan.rsv:rsv:1.0.0'
}
把com.chan.rsv.RangeSliderView添加到布局。
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:rsv="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
android:id="@+id/rsv_small"
android:layout_marginTop="50dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
rsv:filledColor="#1A5F77"
/>
android:id="@+id/rsv_large"
android:layout_marginTop="50dp"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
rsv:filledColor="#FF6600"
/>
更多推荐
所有评论(0)