diff options
Diffstat (limited to 'java/com/android/incallui/video/impl/res/values')
-rw-r--r-- | java/com/android/incallui/video/impl/res/values/dimens.xml | 1 | ||||
-rw-r--r-- | java/com/android/incallui/video/impl/res/values/styles.xml | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/java/com/android/incallui/video/impl/res/values/dimens.xml b/java/com/android/incallui/video/impl/res/values/dimens.xml index 606b158d9..b6449a6d1 100644 --- a/java/com/android/incallui/video/impl/res/values/dimens.xml +++ b/java/com/android/incallui/video/impl/res/values/dimens.xml @@ -23,4 +23,5 @@ <dimen name="videocall_preview_margin_end">24dp</dimen> <dimen name="videocall_button_spacing">8dp</dimen> <dimen name="videocall_button_size">60dp</dimen> + <dimen name="videocall_button_padding">12dp</dimen> </resources> diff --git a/java/com/android/incallui/video/impl/res/values/styles.xml b/java/com/android/incallui/video/impl/res/values/styles.xml index 010aca2d1..03395d989 100644 --- a/java/com/android/incallui/video/impl/res/values/styles.xml +++ b/java/com/android/incallui/video/impl/res/values/styles.xml @@ -16,10 +16,13 @@ --> <resources> <style name="Incall.Button.VideoCall" parent="Widget.AppCompat.ImageButton"> + <item name="android:layout_height">@dimen/videocall_button_size</item> + <item name="android:layout_width">@dimen/videocall_button_size</item> <item name="android:background">@drawable/videocall_video_button_background</item> - <item name="android:scaleType">center</item> <item name="android:tint">@color/videocall_button_icon_tint</item> <item name="android:tintMode">src_atop</item> + <item name="android:padding">@dimen/videocall_button_padding</item> + <item name="android:scaleType">fitCenter</item> <item name="android:stateListAnimator">@animator/disabled_alpha</item> </style> <style name="VideoPreviewHolder"> |