Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 079839f5 authored by chihhangchuang's avatar chihhangchuang
Browse files

Reuse the dimen of preview pager height percent

continue ag/11587711

If the value get changed, all tabs would still be consistent:
https://cs.corp.google.com/android/packages/apps/WallpaperPicker2/res/values/dimens.xml?q=preview_pager_maximum_height_ratio&g=0&l=199

Test: Manually
Bug: 157111978
Change-Id: I3440ccfc8f2db4c828dea60b5ac3f88aef4a2b13
parent 9c84ab49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
                app:layout_constraintBottom_toTopOf="@id/options_title"
                app:layout_constraintHeight_max="@dimen/preview_pager_max_height"
                app:layout_constraintVertical_bias="0.0"
                app:layout_constraintHeight_percent="0.7">
                app:layout_constraintHeight_percent="@dimen/preview_pager_maximum_height_ratio">
                <include layout="@layout/grid_preview_card"/>
            </FrameLayout>

+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@
                app:layout_constraintBottom_toTopOf="@id/options_container"
                app:layout_constraintHeight_max="@dimen/preview_pager_max_height"
                app:layout_constraintVertical_bias="0.0"
                app:layout_constraintHeight_percent="0.7">
                app:layout_constraintHeight_percent="@dimen/preview_pager_maximum_height_ratio">
                <include layout="@layout/theme_preview_card_v2"/>
            </FrameLayout>