diff options
author | Chris Thornton <thorntonc@google.com> | 2016-07-15 19:55:32 -0700 |
---|---|---|
committer | Chris Thornton <thorntonc@google.com> | 2016-11-05 14:16:05 -0700 |
commit | d956889559fdfe4d9c14ed507ddcf46c984efbc7 (patch) | |
tree | 5e78645ed21887a780dcefbc80aae54c05959be9 /tests/SoundTriggerTestApp | |
parent | 3a1dd86ce48533055b062364a2bd567a259abf71 (diff) |
SoundTriggerTestApp: Provide onClick callbacks for audio capture.
Somehow I deleted these, making the buttons useless.
Test: Manual
Change-Id: Ib59b32217a6756eeac33918a88d43a7844ba4075
Diffstat (limited to 'tests/SoundTriggerTestApp')
-rw-r--r-- | tests/SoundTriggerTestApp/res/layout/main.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/SoundTriggerTestApp/res/layout/main.xml b/tests/SoundTriggerTestApp/res/layout/main.xml index 0fd8b12fafd7..2c6c8d7cae20 100644 --- a/tests/SoundTriggerTestApp/res/layout/main.xml +++ b/tests/SoundTriggerTestApp/res/layout/main.xml @@ -87,6 +87,7 @@ android:text="@string/capture" android:id="@+id/caputre_check_box" android:layout_gravity="center_horizontal" + android:onClick="onCaptureAudioCheckboxClicked" android:padding="20dp" /> <Button @@ -94,6 +95,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/play_capture" + android:onClick="onPlayCapturedAudioButtonClicked" android:padding="20dp" android:enabled="false" /> </LinearLayout> |