turing-tech / MaterialScrollBar

An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Apache License 2.0
778 stars 126 forks source link

ScrollBar appearing to the left instead of right #98

Closed silent10 closed 7 years ago

silent10 commented 7 years ago

ScrollBar is appearing to the left of RecyclerView instead of the right. How to move it to right?

<android.support.v7.widget.RecyclerView
        android:id="@+id/recyclerview"
        android:layout_width="wrap_content"
        android:layout_height="336dp"
        android:layout_weight="6"
        selectedItemColor="#66ccff"
        android:visibility="invisible"
        />

 <com.turingtechnologies.materialscrollbar.DragScrollBar
        android:id="@+id/dragScrollBar"
        android:layout_width="wrap_content"
        app:msb_recyclerView="@id/recyclerview"
        app:msb_lightOnTouch="false"
        app:msb_rightToLeft="false"
        android:layout_height="336dp" />