Commit efe37359 authored by Danny Lin's avatar Danny Lin Committed by Michael Bestas
Browse files

ExactCalculator: Use HapticImageButton for operator buttons

Providing haptic feedback on key presses makes using the calculator feel
more interactive.

Change-Id: Ieba405d2fd01d3f1ebc1c7933733d2ccbfbd8a80
parent 6b14a9a8
......@@ -24,7 +24,7 @@
app:rowCount="5"
app:columnCount="1">
<ImageButton
<com.android.calculator2.HapticImageButton
android:id="@+id/del"
style="@style/PadButtonStyle.Operator"
android:contentDescription="@string/desc_del"
......
......@@ -32,7 +32,7 @@
app:layout_row="0"
app:layout_column="0" />
<ImageButton
<com.android.calculator2.HapticImageButton
android:id="@+id/del"
style="@style/PadButtonStyle.Operator"
android:contentDescription="@string/desc_del"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment