diff --git a/packages/SettingsLib/IllustrationPreference/res/layout/illustration_preference.xml b/packages/SettingsLib/IllustrationPreference/res/layout/illustration_preference.xml index 54145d60fb32b..c8cf56e2c0606 100644 --- a/packages/SettingsLib/IllustrationPreference/res/layout/illustration_preference.xml +++ b/packages/SettingsLib/IllustrationPreference/res/layout/illustration_preference.xml @@ -36,15 +36,18 @@ + android:layout_gravity="center" + android:maxWidth="@dimen/settingslib_illustration_width" + android:maxHeight="@dimen/settingslib_illustration_height" + android:adjustViewBounds="true"/>