Floating calculator header buttons now vibrate
This commit is contained in:
parent
1f8df36719
commit
6b9614b402
@ -223,6 +223,7 @@ public class CalculatorOnscreenView {
|
||||
onscreenFoldButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
App.getVibrator().vibrate();
|
||||
if (folded) {
|
||||
unfold();
|
||||
} else {
|
||||
@ -235,6 +236,7 @@ public class CalculatorOnscreenView {
|
||||
onscreenHideButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
App.getVibrator().vibrate();
|
||||
minimize();
|
||||
}
|
||||
});
|
||||
@ -242,6 +244,7 @@ public class CalculatorOnscreenView {
|
||||
root.findViewById(R.id.onscreen_close_button).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
App.getVibrator().vibrate();
|
||||
hide();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user