diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-04-12 23:23:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-12 23:23:09 +0000 |
commit | f599b4bbf9c9c0224f64934d78f00ba6690c6c7f (patch) | |
tree | 0f1f4cc08e164cde9f891f83749edff34eb94a89 /java/com/android/dialer/calldetails/res/layout/call_details_entry.xml | |
parent | 9ef6d8c84b7b33e069258d41db9eef16e3d2b9fa (diff) | |
parent | d6b10d559f345eab2dd3dd89b07cfc3fd79c59bc (diff) |
Merge "Add RTT transcript to call details."
Diffstat (limited to 'java/com/android/dialer/calldetails/res/layout/call_details_entry.xml')
-rw-r--r-- | java/com/android/dialer/calldetails/res/layout/call_details_entry.xml | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/java/com/android/dialer/calldetails/res/layout/call_details_entry.xml b/java/com/android/dialer/calldetails/res/layout/call_details_entry.xml index 3d4750d09..1e989966a 100644 --- a/java/com/android/dialer/calldetails/res/layout/call_details_entry.xml +++ b/java/com/android/dialer/calldetails/res/layout/call_details_entry.xml @@ -30,60 +30,71 @@ <TextView android:id="@+id/call_type" + style="@style/PrimaryText" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/call_entry_text_left_margin" android:layout_marginEnd="16dp" android:layout_toStartOf="@+id/call_duration" android:gravity="start" - android:maxLines="100" - style="@style/PrimaryText"/> + android:maxLines="100"/> <TextView android:id="@+id/call_time" + style="@style/SecondaryText" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/call_entry_text_left_margin" - android:layout_below="@+id/call_type" android:layout_marginBottom="@dimen/call_entry_bottom_padding" - style="@style/SecondaryText"/> + android:layout_marginStart="@dimen/call_entry_text_left_margin" + android:layout_below="@+id/call_type"/> <TextView android:id="@+id/call_duration" + style="@style/PrimaryText" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentEnd="true" android:layout_marginEnd="@dimen/call_entry_padding" - style="@style/PrimaryText"/> + android:layout_alignParentEnd="true"/> <include - layout="@layout/ec_data_container" android:id="@+id/ec_container" - android:layout_height="@dimen/ec_container_height" + layout="@layout/ec_data_container" android:layout_width="match_parent" + android:layout_height="@dimen/ec_container_height" android:layout_below="@+id/call_time" android:visibility="gone"/> <TextView android:id="@+id/post_call_note" + style="@style/SecondaryText" android:layout_width="match_parent" android:layout_height="@dimen/ec_container_height" android:layout_below="@+id/ec_container" android:paddingStart="@dimen/call_entry_text_left_margin" + android:background="?attr/selectableItemBackground" android:gravity="center_vertical" android:maxLines="2" - android:visibility="gone" - android:background="?attr/selectableItemBackground" - style="@style/SecondaryText"/> + android:visibility="gone"/> + <TextView + android:id="@+id/rtt_transcript" + style="@style/SecondaryText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/call_entry_bottom_padding" + android:layout_marginStart="@dimen/call_entry_text_left_margin" + android:layout_marginEnd="@dimen/call_entry_padding" + android:layout_below="@id/post_call_note" + android:maxLines="2" + android:visibility="gone"/> <View android:id="@+id/divider" android:layout_width="match_parent" android:layout_height="1dp" - android:layout_below="@id/post_call_note" android:layout_marginTop="@dimen/ec_divider_top_bottom_margin" android:layout_marginBottom="@dimen/ec_divider_top_bottom_margin" android:layout_marginStart="@dimen/call_entry_text_left_margin" + android:layout_below="@id/rtt_transcript" android:background="#12000000" android:visibility="gone"/> </RelativeLayout>
\ No newline at end of file |