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

Commit 0edd421d authored by PETER LIANG's avatar PETER LIANG Committed by Android (Google) Code Review
Browse files

Merge "Replace the fixed size values with the new dimen resources." into sc-dev

parents 0b9d47dd 47222b3e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="300dp"
        android:layout_height="@dimen/settingslib_illustration_height"
        android:layout_gravity="center"
        android:gravity="center_vertical"
        android:padding="@dimen/settingslib_illustration_padding"
@@ -33,7 +33,7 @@
        <com.airbnb.lottie.LottieAnimationView
            android:id="@+id/lottie_view"
            android:adjustViewBounds="true"
            android:maxWidth="412dp"
            android:maxWidth="@dimen/settingslib_illustration_width"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center"
@@ -44,8 +44,8 @@

    <FrameLayout
        android:id="@+id/middleground_layout"
        android:layout_width="412dp"
        android:layout_height="300dp"
        android:layout_width="@dimen/settingslib_illustration_width"
        android:layout_height="@dimen/settingslib_illustration_height"
        android:padding="@dimen/settingslib_illustration_padding"
        android:background="@android:color/transparent"
        android:layout_gravity="center"
+3 −0
Original line number Diff line number Diff line
@@ -18,4 +18,7 @@
<resources>
    <!-- Padding of illustration -->
    <dimen name="settingslib_illustration_padding">12dp</dimen>

    <dimen name="settingslib_illustration_width">412dp</dimen>
    <dimen name="settingslib_illustration_height">300dp</dimen>
</resources>