双拇指Seek Bar就像Paytm一样

时间:2016-07-20 13:17:05

标签: android seekbar

我有SeekBar,我使用https://github.com/oli107/material-range-bar建造了SeekBar它的工作正常,但它在拖动时相互影响但是我不想要它,我想要像paytm。当我设置放大值以开始刻度并且结束刻度意味着最大值和最小值时,则勾选不显示表示半值显示的整个值。

那么我该如何构建呢?请帮帮我!!!

activity_main.xml中

<com.example.seekbar.RangeBar xmlns:custom="http://schemas.android.com/apk/res-auto"
                android:id="@+id/rangebar1"
                android:layout_width="match_parent"
                android:layout_height="72dp"
                android:layout_marginTop="@dimen/margin_5"
                custom:temporaryPins="false"
                custom:tickEnd="100"
                custom:tickInterval="10"
                custom:tickStart="0" />

0 个答案:

没有答案