diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-08-31 16:17:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-08-31 16:17:04 +0000 |
commit | c39ea3c55fac807c0b98aabdf56c70dc8a49036c (patch) | |
tree | e282668a9587cf6c1ec7b604dea860400c75c6c7 /java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml | |
parent | 68038172793ee0e2ab3e2e56ddfbeb82879d1f58 (diff) | |
parent | 2ca4318cc1ee57dda907ba2069bd61d162b1baef (diff) |
Merge "Update Dialer source to latest internal Google revision."
Diffstat (limited to 'java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml')
-rw-r--r-- | java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml b/java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml index d2147ea62..b93db63ad 100644 --- a/java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml +++ b/java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml @@ -16,29 +16,34 @@ --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="16dp" android:paddingStart="@dimen/answer_message_margin_start_end" android:paddingEnd="@dimen/answer_message_margin_start_end"> - <TextView + <android.support.v7.widget.AppCompatTextView android:id="@id/answer_message_text" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/answer_message_contents_margin_top" android:layout_marginBottom="4dp" android:layout_centerHorizontal="true" android:layout_alignTop="@+id/answer_message_avatar" - android:paddingTop="44dp" - android:paddingBottom="44dp" - android:paddingStart="18dp" - android:paddingEnd="18dp" - android:background="@drawable/answer_text_only_background" android:elevation="@dimen/answer_data_elevation" - android:gravity="center_horizontal" + android:gravity="center" + android:paddingTop="22dp" + android:paddingBottom="22dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:minHeight="108dp" + android:lineSpacingMultiplier="1.2" android:textColor="@color/background_dialer_white" - android:textAppearance="@style/Dialer.Incall.TextAppearance.Message"/> + android:textAppearance="@style/Dialer.Incall.TextAppearance.Message" + android:background="@drawable/answer_text_only_background" + app:autoSizeTextType="uniform" + app:autoSizeMaxTextSize="44sp"/> <ImageView android:id="@id/answer_message_avatar" |