summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calldetails/res/layout/call_details_entry.xml
diff options
context:
space:
mode:
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.xml30
1 files changed, 21 insertions, 9 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 7f8bb8087..3f2ba7534 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
@@ -16,29 +16,30 @@
-->
<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="@dimen/call_entry_padding">
- <ImageView
+ <com.android.dialer.calllogutils.CallTypeIconsView
android:id="@+id/call_direction"
- android:layout_width="@dimen/call_entry_icon_size"
- android:layout_height="@dimen/call_entry_icon_size"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginStart="@dimen/call_entry_padding"
- android:layout_marginEnd="@dimen/call_entry_left_margin"/>
+ app:useLargeIcons="true"/>
<TextView
android:id="@+id/call_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_toEndOf="@+id/call_direction"
+ android:layout_marginStart="@dimen/call_entry_text_left_margin"
style="@style/PrimaryText"/>
<TextView
android:id="@+id/call_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_toEndOf="@id/call_direction"
+ 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"/>
@@ -56,18 +57,29 @@
android:id="@+id/ec_container"
android:layout_height="@dimen/ec_container_height"
android:layout_width="match_parent"
- android:layout_marginStart="@dimen/ec_text_left_margin"
+ android:layout_marginStart="@dimen/call_entry_text_left_margin"
android:layout_below="@+id/call_time"
android:visibility="gone"/>
+ <TextView
+ android:id="@+id/post_call_note"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ec_container_height"
+ 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"
+ style="@style/SecondaryText"/>
+
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:layout_below="@id/ec_container"
+ 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/ec_text_left_margin"
+ android:layout_marginStart="@dimen/call_entry_text_left_margin"
android:background="#12000000"
android:visibility="gone"/>
</RelativeLayout> \ No newline at end of file