Apply theme to Ripple

This commit is contained in:
seven332 committed 2018-10-18 22:10:50 +08:00
1 parent 1f55977182
commit 590963024a
13 files changed
+47 -47

No files matched your search

@@ -76,7 +76,7 @@ public class DirExplorer extends EasyRecyclerView implements EasyRecyclerView.On
LayoutUtils.dp2pix(context, 1));
decoration.setShowLastDivider(true);
addItemDecoration(decoration);
setSelector(Ripple.generateRippleDrawable(context, false));
setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
setOnItemClickListener(this);
mCurrentFile = Environment.getExternalStorageDirectory();