TouchFeedbackDrawable is now RippleDrawable

Change-Id: Id025b58e9b62baa8d07f13b7eae2de61a3e4c90a
This commit is contained in:
Alan Viverette
2014-05-19 15:10:36 -07:00
parent ba046c034c
commit ba348ca996
4 changed files with 16 additions and 12 deletions

View File

@@ -83,8 +83,9 @@ public class HighlightingFragment extends Fragment {
public void run() {
final int centerX = view.getWidth() / 2;
final int centerY = view.getHeight() / 2;
highlight.setHotspot(0, centerX, centerY);
highlight.clearHotspots();
highlight.setHotspot(centerX, centerY);
view.setPressed(true);
view.setPressed(false);
}
}, DELAY_HIGHLIGHT_DURATION_MILLIS);