diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-11-25 05:03:11 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-11-25 05:03:11 +0000 |
commit | c8e527d326e4e64b373d363e8f6032de6f73ae4c (patch) | |
tree | 33859b043414ed1664c9a8d6931069afeee254f7 /app/src/main/res/layout | |
parent | d0430e6842af66a30786200714e32f9125e67127 (diff) | |
download | infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.tar infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.tar.gz infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.tar.bz2 infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.tar.lz infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.tar.xz infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.tar.zst infinity-for-reddit-c8e527d326e4e64b373d363e8f6032de6f73ae4c.zip |
Layout tweaks in ImageAndGifEntry.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/markdown_image_and_gif_block.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/markdown_image_and_gif_block.xml b/app/src/main/res/layout/markdown_image_and_gif_block.xml index 95746933..264a80e8 100644 --- a/app/src/main/res/layout/markdown_image_and_gif_block.xml +++ b/app/src/main/res/layout/markdown_image_and_gif_block.xml @@ -1,8 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/image_wrapper_relative_layout_markdown_image_and_gif_block" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:padding="8dp"> <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView android:id="@+id/image_view_markdown_image_and_gif_block" @@ -21,11 +23,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" - android:drawableTop="@drawable/ic_error_outline_black_24dp" android:fontFamily="?attr/font_family" android:gravity="center" android:text="@string/error_loading_image_tap_to_retry" android:textSize="?attr/font_default" - android:visibility="gone" /> + android:visibility="gone" + app:drawableTopCompat="@drawable/ic_error_outline_black_24dp" /> </FrameLayout>
\ No newline at end of file |