diff --git a/gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapHelper.java b/gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapHelper.java index 5a2959c..1d20334 100644 --- a/gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapHelper.java +++ b/gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapHelper.java @@ -78,7 +78,7 @@ public void attachToRecyclerView(@Nullable RecyclerView recyclerView) if (recyclerView != null) { if (mGravity == Gravity.START || mGravity == Gravity.END) { mIsRtlHorizontal - = recyclerView.getContext().getResources().getBoolean(R.bool.is_rtl); + = recyclerView.getContext().getResources().getBoolean(R.bool.com_github_rubensousa_gravitysnaphelper_is_rtl); } if (mSnapListener != null) { recyclerView.addOnScrollListener(mScrollListener); diff --git a/gravitysnaphelper/src/main/res/values-ldrtl/attrs.xml b/gravitysnaphelper/src/main/res/values-ldrtl/attrs.xml index 35d1161..62e1baf 100644 --- a/gravitysnaphelper/src/main/res/values-ldrtl/attrs.xml +++ b/gravitysnaphelper/src/main/res/values-ldrtl/attrs.xml @@ -1,4 +1,4 @@ - true + true \ No newline at end of file diff --git a/gravitysnaphelper/src/main/res/values/attrs.xml b/gravitysnaphelper/src/main/res/values/attrs.xml index cbe497e..b2ea843 100644 --- a/gravitysnaphelper/src/main/res/values/attrs.xml +++ b/gravitysnaphelper/src/main/res/values/attrs.xml @@ -1,4 +1,4 @@ - false + false \ No newline at end of file