From a2c076d54048258cf88ab14551ce5fdf5a09c6e8 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 30 May 2014 16:42:57 -0700 Subject: Clean up voice API. Add various java docs. Switch to CharSequence where appropriate. Add new request for canceling voice interaction. Also update test app to follow API changes and be more better. Change-Id: If27eeba53cf6444660adb7d37ea2ce0557c6c91f --- .../res/layout/test_interaction.xml | 12 +++- .../res/layout/voice_interaction_session.xml | 65 +++++++++++++++------- tests/VoiceInteraction/res/values/strings.xml | 5 +- .../voiceinteraction/MainInteractionSession.java | 57 +++++++++++++++---- .../voiceinteraction/TestInteractionActivity.java | 27 ++++++++- 5 files changed, 130 insertions(+), 36 deletions(-) (limited to 'tests/VoiceInteraction') diff --git a/tests/VoiceInteraction/res/layout/test_interaction.xml b/tests/VoiceInteraction/res/layout/test_interaction.xml index 2abf651..4c0c67a 100644 --- a/tests/VoiceInteraction/res/layout/test_interaction.xml +++ b/tests/VoiceInteraction/res/layout/test_interaction.xml @@ -18,6 +18,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" + android:padding="8dp" > +