From fce3a793a925791b6ed22d8132db55cd6d7d3f15 Mon Sep 17 00:00:00 2001 From: wangqi Date: Fri, 16 Mar 2018 16:16:55 -0700 Subject: Use single return to break bubble of RTT chat. Also change "done" button to "send" in input box and disallow multiple line since return will be interpreted as "send". Bug: 67596257 Test: manual PiperOrigin-RevId: 189409725 Change-Id: I3d3bf3e11cd04d6689125399f4567e88ee3f28f0 --- java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml') diff --git a/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml b/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml index 753117904..34a99544a 100644 --- a/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml +++ b/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml @@ -48,9 +48,8 @@ android:paddingEnd="16dp" android:background="@drawable/input_bubble_background" android:hint="@string/rtt_input_hint" - android:imeOptions="actionDone" - android:inputType="textMultiLine|text" - android:maxLines="4" + android:imeOptions="actionSend" + android:inputType="text" android:minHeight="53dp" android:textColor="#DD000000" android:textColorHint="#757575" -- cgit v1.2.3