diff options
author | wangqi <wangqi@google.com> | 2018-02-27 11:37:29 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-27 11:39:41 -0800 |
commit | a4a4df959c4163a99b43858c6f1cc50c403c644d (patch) | |
tree | 2f3dce168d8d53abaeddd2ee9f6a19ce2ba0f774 | |
parent | dd52b39fffa8da6f70a5f7608fddae6825aec370 (diff) |
Fix bug that soft keyboard pushes action bar out of window.
This is happening on outgoing call.
Bug: 67596257
Test: manual
PiperOrigin-RevId: 187207221
Change-Id: I09e8be0dbad695a1a5afb64e08faf533d068e5c4
-rw-r--r-- | java/com/android/incallui/AndroidManifest.xml | 3 | ||||
-rw-r--r-- | java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/java/com/android/incallui/AndroidManifest.xml b/java/com/android/incallui/AndroidManifest.xml index eb080bc82..a45330b73 100644 --- a/java/com/android/incallui/AndroidManifest.xml +++ b/java/com/android/incallui/AndroidManifest.xml @@ -63,7 +63,8 @@ android:resizeableActivity="true" android:screenOrientation="nosensor" android:taskAffinity="com.android.incallui" - android:theme="@style/Theme.InCallScreen"> + android:theme="@style/Theme.InCallScreen" + android:windowSoftInputMode="adjustResize"> </activity> <activity 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 5ba9f4ee8..ef3c1f91a 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 @@ -17,8 +17,7 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/dialer_theme_color" - android:fitsSystemWindows="true"> + android:background="@color/dialer_theme_color"> <include layout="@layout/rtt_banner"/> |