swipe-button
swipe-button copied to clipboard
swipe-button not swiping smoothly
I tried implementing the library and found that the swiping is not happening smoothly nor it swipes to the end. Any help?
Version:
implementation 'com.ebanx:swipe-button:0.8.3'
xml:
<com.ebanx.swipebtn.SwipeButton
android:id="@+id/btn_swipe"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/home_screen"
android:layout_margin="46dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
app:button_background="@drawable/shape_button"
app:button_bottom_padding="20dp"
app:button_image_disabled="@drawable/ic_check"
app:button_image_enabled="@drawable/ic_hand_icon"
app:button_image_height="80dp"
app:button_image_width="80dp"
app:button_left_padding="20dp"
app:button_right_padding="20dp"
app:button_top_padding="20dp"
app:has_activate_state="false"
app:initial_state="disabled"
app:inner_text="SWIPE"
app:inner_text_background="@drawable/shape_rounded"
app:inner_text_bottom_padding="18dp"
app:inner_text_color="@android:color/white"
app:inner_text_size="16sp"
app:inner_text_top_padding="18dp" />