summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/sessiondata/res/layout/fragment_composer_text.xml
diff options
context:
space:
mode:
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.xml54
1 files changed, 30 insertions, 24 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 c69973042..d2147ea62 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
@@ -15,29 +15,35 @@
~ limitations under the License
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="16dp"
- android:paddingStart="16dp"
- android:paddingEnd="24dp"
- android:orientation="horizontal">
-
- <ImageView
- android:id="@id/answer_message_avatar"
- android:layout_width="@dimen/answer_message_avatar_size"
- android:layout_height="@dimen/answer_message_avatar_size"
- android:elevation="@dimen/answer_data_elevation"/>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ 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:id="@id/answer_message_text"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_marginBottom="4dp"
- android:layout_marginStart="8dp"
- android:padding="18dp"
- android:background="@drawable/answer_data_background"
- android:elevation="@dimen/answer_data_elevation"
- android:textAppearance="@style/Dialer.Incall.TextAppearance.Message"/>
-</LinearLayout>
+ android:id="@id/answer_message_text"
+ android:layout_width="match_parent"
+ 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:textColor="@color/background_dialer_white"
+ android:textAppearance="@style/Dialer.Incall.TextAppearance.Message"/>
+
+ <ImageView
+ android:id="@id/answer_message_avatar"
+ android:layout_width="@dimen/answer_message_avatar_size"
+ android:layout_height="@dimen/answer_message_avatar_size"
+ android:layout_centerHorizontal="true"
+ android:elevation="@dimen/answer_avatar_elevation"/>
+</RelativeLayout>