From 87b8b40eb3c632b0fed6c4d250b82408763e88a2 Mon Sep 17 00:00:00 2001 From: Alexander Bezverhni Date: Mon, 21 Nov 2016 15:31:50 +0200 Subject: [PATCH] Package-specific resource name - to avoid possible conflicts with the client apps resources. --- .../github/rubensousa/gravitysnaphelper/GravitySnapHelper.java | 2 +- gravitysnaphelper/src/main/res/values-ldrtl/attrs.xml | 2 +- gravitysnaphelper/src/main/res/values/attrs.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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