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

@@ -86,7 +86,7 @@ public class HostsActivity extends ToolbarActivity
LayoutUtils.dp2pix(this, 1));
decoration.setShowLastDivider(true);
recyclerView.addItemDecoration(decoration);
recyclerView.setSelector(Ripple.generateRippleDrawable(this, false));
recyclerView.setSelector(Ripple.generateRippleDrawable(this, !AttrResources.getAttrBoolean(this, R.attr.isLightTheme)));
recyclerView.setHasFixedSize(true);
recyclerView.setOnItemClickListener(this);
recyclerView.setPadding(