diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/anim/slide_out_down.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/anim/slide_out_up.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_view_imgur_images.xml | 6 |
3 files changed, 2 insertions, 28 deletions
diff --git a/app/src/main/res/anim/slide_out_down.xml b/app/src/main/res/anim/slide_out_down.xml deleted file mode 100644 index 4c64d6c4..00000000 --- a/app/src/main/res/anim/slide_out_down.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<set xmlns:android="http://schemas.android.com/apk/res/android"> - <translate - android:duration="@android:integer/config_shortAnimTime" - android:fromYDelta="0" - android:toYDelta="+50%p" /> - <alpha - android:duration="@android:integer/config_shortAnimTime" - android:fromAlpha="1.0" - android:toAlpha="0.0" /> -</set> diff --git a/app/src/main/res/anim/slide_out_up.xml b/app/src/main/res/anim/slide_out_up.xml deleted file mode 100644 index 945e2b7e..00000000 --- a/app/src/main/res/anim/slide_out_up.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<set xmlns:android="http://schemas.android.com/apk/res/android"> - <translate - android:duration="@android:integer/config_shortAnimTime" - android:fromYDelta="0" - android:toYDelta="-50%p" /> - <alpha - android:duration="@android:integer/config_shortAnimTime" - android:fromAlpha="1.0" - android:toAlpha="0.0" /> -</set> diff --git a/app/src/main/res/layout/fragment_view_imgur_images.xml b/app/src/main/res/layout/fragment_view_imgur_images.xml index 63620c08..20110897 100644 --- a/app/src/main/res/layout/fragment_view_imgur_images.xml +++ b/app/src/main/res/layout/fragment_view_imgur_images.xml @@ -13,13 +13,11 @@ android:layout_height="wrap_content" android:layout_centerInParent="true" /> - <com.alexvasilkov.gestures.views.GestureImageView + <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView android:id="@+id/image_view_view_imgur_image_fragment" android:layout_width="match_parent" android:layout_height="match_parent" - android:adjustViewBounds="true" - android:scaleType="fitCenter" - app:gest_fillViewport="true" /> + app:quickScaleEnabled="false" /> <LinearLayout android:id="@+id/load_image_error_linear_layout_view_imgur_image_fragment" |