summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2018-03-29 16:13:00 -0700
committerCopybara-Service <copybara-piper@google.com>2018-03-29 17:21:15 -0700
commit2789d6a0014209f7bafa8a8cc15f88b1edfa3f61 (patch)
tree91e691c7d40231dff2223be410624da8755a4f06 /java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml
parentd6a2f81c52918e1d988979c83dcb779087c2ed13 (diff)
UI adjustment to RTT screen.
1. Don't close overflow menu after menu item is clicked. 2. Add correct shadow and animation to overflow menu. 3. Only scroll when remote message is updated if input box is empty. 4. Only hide keyboard if scrolling up is triggered by user. 5. Add paddingTop to recyclerView so that first message won't be covered by toolbar. Bug: 70177426 Test: manual PiperOrigin-RevId: 191002774 Change-Id: Ic69f80323e3d31d7853d4e8d0c6e4c100fe4a776
Diffstat (limited to 'java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml')
-rw-r--r--java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml1
1 files changed, 1 insertions, 0 deletions
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 34a99544a..ea7ff1095 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
@@ -23,6 +23,7 @@
android:id="@+id/rtt_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:paddingTop="70dp"
android:paddingBottom="70dp"
android:clipToPadding="false"/>