summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/rtt/impl/res
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/incallui/rtt/impl/res')
-rw-r--r--java/com/android/incallui/rtt/impl/res/layout/rtt_chat_list_item.xml4
-rw-r--r--java/com/android/incallui/rtt/impl/res/values/dimens.xml3
2 files changed, 4 insertions, 3 deletions
diff --git a/java/com/android/incallui/rtt/impl/res/layout/rtt_chat_list_item.xml b/java/com/android/incallui/rtt/impl/res/layout/rtt_chat_list_item.xml
index 54b0f4f6a..5f1714250 100644
--- a/java/com/android/incallui/rtt/impl/res/layout/rtt_chat_list_item.xml
+++ b/java/com/android/incallui/rtt/impl/res/layout/rtt_chat_list_item.xml
@@ -26,8 +26,8 @@
android:orientation="horizontal">
<ImageView
android:id="@+id/rtt_chat_avatar"
- android:layout_width="40dp"
- android:layout_height="40dp"
+ android:layout_width="@dimen/rtt_avatar_size"
+ android:layout_height="@dimen/rtt_avatar_size"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:visibility="gone"
diff --git a/java/com/android/incallui/rtt/impl/res/values/dimens.xml b/java/com/android/incallui/rtt/impl/res/values/dimens.xml
index a6418d70e..c3d28da77 100644
--- a/java/com/android/incallui/rtt/impl/res/values/dimens.xml
+++ b/java/com/android/incallui/rtt/impl/res/values/dimens.xml
@@ -19,4 +19,5 @@
<dimen name="rtt_same_group_message_margin_top">2dp</dimen>
<dimen name="rtt_overflow_menu_width">180dp</dimen>
<dimen name="rtt_overflow_menu_elevation">8dp</dimen>
-</resources> \ No newline at end of file
+ <dimen name="rtt_avatar_size">40dp</dimen>
+</resources>