diff options
Diffstat (limited to 'java/com/android/dialer/calldetails/res')
4 files changed, 17 insertions, 7 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 3f2ba7534..3d4750d09 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,9 +30,13 @@ <TextView android:id="@+id/call_type" - android:layout_width="wrap_content" + 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"/> <TextView @@ -57,7 +61,6 @@ android:id="@+id/ec_container" android:layout_height="@dimen/ec_container_height" android:layout_width="match_parent" - android:layout_marginStart="@dimen/call_entry_text_left_margin" android:layout_below="@+id/call_time" android:visibility="gone"/> @@ -65,11 +68,12 @@ android:id="@+id/post_call_note" 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:gravity="center_vertical" - android:layout_marginStart="@dimen/ec_post_call_left_margin" android:maxLines="2" android:visibility="gone" - android:layout_below="@+id/ec_container" + android:background="?attr/selectableItemBackground" style="@style/SecondaryText"/> <View diff --git a/java/com/android/dialer/calldetails/res/layout/contact_container.xml b/java/com/android/dialer/calldetails/res/layout/contact_container.xml index daf465b2c..bb89b36f2 100644 --- a/java/com/android/dialer/calldetails/res/layout/contact_container.xml +++ b/java/com/android/dialer/calldetails/res/layout/contact_container.xml @@ -47,6 +47,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/photo_text_margin" + android:ellipsize="end" + android:maxLines="1" style="@style/PrimaryText"/> <TextView @@ -68,4 +70,4 @@ android:scaleType="center" android:src="@drawable/quantum_ic_call_white_24" android:tint="@color/secondary_text_color"/> -</RelativeLayout>
\ No newline at end of file +</RelativeLayout> diff --git a/java/com/android/dialer/calldetails/res/layout/ec_data_container.xml b/java/com/android/dialer/calldetails/res/layout/ec_data_container.xml index 85cc4ed62..fec3126a5 100644 --- a/java/com/android/dialer/calldetails/res/layout/ec_data_container.xml +++ b/java/com/android/dialer/calldetails/res/layout/ec_data_container.xml @@ -2,7 +2,10 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="@dimen/ec_container_height"> + android:layout_height="@dimen/ec_container_height" + android:paddingStart="@dimen/call_entry_text_left_margin" + android:clickable="true" + android:background="?attr/selectableItemBackground"> <TextView android:id="@+id/multimedia_details" @@ -21,6 +24,8 @@ android:layout_marginEnd="@dimen/call_entry_padding" android:layout_centerVertical="true" android:background="@drawable/multimedia_image_background" + android:clickable="true" + android:foreground="?attr/selectableItemBackground" android:outlineProvider="background" android:visibility="gone"> diff --git a/java/com/android/dialer/calldetails/res/values/dimens.xml b/java/com/android/dialer/calldetails/res/values/dimens.xml index 054cd6975..f85d02f83 100644 --- a/java/com/android/dialer/calldetails/res/values/dimens.xml +++ b/java/com/android/dialer/calldetails/res/values/dimens.xml @@ -36,7 +36,6 @@ <!-- EC container --> <dimen name="call_details_ec_text_size">12sp</dimen> <dimen name="ec_container_height">48dp</dimen> - <dimen name="ec_post_call_left_margin">73dp</dimen> <dimen name="ec_photo_size">40dp</dimen> <dimen name="ec_divider_top_bottom_margin">8dp</dimen> </resources>
\ No newline at end of file |