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

Commit e324e709 authored by PETER LIANG's avatar PETER LIANG Committed by Automerger Merge Worker
Browse files

Merge "Refines the animated image to fit the screen display." into rvc-dev am: dd1e66c1

Change-Id: I5df2f7d3612db3b03e3637c34b8a6f0a5490b3b1
parents 0533f91d dd1e66c1
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -24,9 +24,10 @@


    <ImageView
    <ImageView
        android:id="@+id/animated_img"
        android:id="@+id/animated_img"
        android:layout_width="wrap_content"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_gravity="center"
        android:scaleType="fitCenter"
        android:focusable="false"
        android:focusable="false"
        android:clickable="false"
        android:clickable="false"
        android:adjustViewBounds="true"/>
        android:adjustViewBounds="true"/>
+1 −1
Original line number Original line Diff line number Diff line
@@ -60,7 +60,7 @@ public class AnimatedImagePreference extends Preference {
        }
        }


        if (mMaxHeight > -1) {
        if (mMaxHeight > -1) {
            imageView.setMaxWidth(mMaxHeight);
            imageView.setMaxHeight(mMaxHeight);
        }
        }
    }
    }