diff options
author | linyuh <linyuh@google.com> | 2018-03-29 10:10:48 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-29 11:25:46 -0700 |
commit | 756f013f4797403347ae43a5ab60e8b9e884f124 (patch) | |
tree | 3f069e9df345e44ecef8b48f939a52f51393bb9a /java/com/android/dialer/historyitemactions/res/layout | |
parent | e7d6381c9cafa809da51a0fe3f567773b6c73614 (diff) |
Badge contact photos for video calls in the bottom sheet.
Bug: 70988682
Test: Existing tests
PiperOrigin-RevId: 190946639
Change-Id: Iaa8294e8ba6e85ab3c27bb2e67200d7972a240f2
Diffstat (limited to 'java/com/android/dialer/historyitemactions/res/layout')
-rw-r--r-- | java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml b/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml index 4deef3e07..f2dc8c7ac 100644 --- a/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml +++ b/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml @@ -23,14 +23,13 @@ android:gravity="center_vertical" android:orientation="horizontal"> - <QuickContactBadge - android:id="@+id/quick_contact_photo" - android:layout_width="@dimen/contact_actions_image_size" - android:layout_height="@dimen/contact_actions_image_size" - android:layout_marginStart="@dimen/contact_actions_image_margin" - android:layout_marginEnd="@dimen/contact_actions_image_margin" - android:padding="4dp" - android:focusable="true"/> + <com.android.dialer.widget.ContactPhotoView + android:id="@+id/contact_photo_view" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="10dp" + android:layout_marginEnd="10dp" + android:minHeight="@dimen/contact_actions_image_size"/> <LinearLayout android:layout_width="wrap_content" |