Merge "Refines the animated image to fit the screen display." into rvc-dev
This commit is contained in:
@@ -24,9 +24,10 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/animated_img"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="fitCenter"
|
||||
android:focusable="false"
|
||||
android:clickable="false"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
@@ -60,7 +60,7 @@ public class AnimatedImagePreference extends Preference {
|
||||
}
|
||||
|
||||
if (mMaxHeight > -1) {
|
||||
imageView.setMaxWidth(mMaxHeight);
|
||||
imageView.setMaxHeight(mMaxHeight);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user