1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2018 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:fitsSystemWindows="true"> 21 22 <android.support.v7.widget.RecyclerView 23 android:id="@+id/rtt_recycler_view" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:paddingTop="56dp" 27 android:paddingBottom="70dp" 28 android:clipToPadding="false"/> 29 30 <include layout="@layout/rtt_banner"/> 31 32 <LinearLayout 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:layout_marginTop="6dp" 36 android:layout_marginBottom="4dp" 37 android:layout_marginStart="5dp" 38 android:layout_marginEnd="4dp" 39 android:layout_gravity="bottom" 40 android:orientation="horizontal"> 41 <EditText 42 android:id="@+id/rtt_chat_input" 43 android:layout_width="0dp" 44 android:layout_height="wrap_content" 45 android:layout_weight="1" 46 android:paddingTop="10dp" 47 android:paddingBottom="12dp" 48 android:paddingStart="16dp" 49 android:paddingEnd="16dp" 50 android:background="@drawable/input_bubble_background" 51 android:hint="@string/rtt_input_hint" 52 android:imeOptions="actionSend" 53 android:inputType="text" 54 android:minHeight="53dp" 55 android:textColor="#DD000000" 56 android:textColorHint="#757575" 57 android:textSize="16sp" 58 android:visibility="gone"/> 59 <ImageButton 60 android:id="@+id/rtt_chat_submit_button" 61 android:layout_width="55dp" 62 android:layout_height="53dp" 63 android:layout_gravity="bottom" 64 android:background="@drawable/input_bubble_background" 65 android:backgroundTint="@color/submit_button_background_color" 66 android:backgroundTintMode="multiply" 67 android:contentDescription="@string/content_description_rtt_check_button" 68 android:src="@drawable/quantum_ic_done_vd_theme_24" 69 android:tint="@color/submit_button_color" 70 android:visibility="gone"/> 71 </LinearLayout> 72 73 <FrameLayout 74 android:id="@+id/incall_dialpad_container" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:layout_gravity="bottom" 78 android:clipChildren="false" 79 android:clipToPadding="false"/> 80</FrameLayout> 81