diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-16 13:24:29 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-16 13:24:29 +0000 |
commit | 5a12266c6fa3a0bb2a976080e9f52226a689d104 (patch) | |
tree | ad9bf720202d77de6d6d798da089af19f6dfc203 /app/src/main | |
parent | c093ef62fe506ba3c39a06ac902c6e549b5f0df9 (diff) | |
download | infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.tar infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.tar.gz infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.tar.bz2 infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.tar.lz infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.tar.xz infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.tar.zst infinity-for-reddit-5a12266c6fa3a0bb2a976080e9f52226a689d104.zip |
Place a close button on the image in PostGalleryActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/drawable/ic_close_24dp.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/layout/item_reddit_gallery_submission_image.xml | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/app/src/main/res/drawable/ic_close_24dp.xml b/app/src/main/res/drawable/ic_close_24dp.xml new file mode 100644 index 00000000..a20716a2 --- /dev/null +++ b/app/src/main/res/drawable/ic_close_24dp.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="@android:color/white" + android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z"/> +</vector> diff --git a/app/src/main/res/layout/item_reddit_gallery_submission_image.xml b/app/src/main/res/layout/item_reddit_gallery_submission_image.xml index 86eef71b..c6d42e81 100644 --- a/app/src/main/res/layout/item_reddit_gallery_submission_image.xml +++ b/app/src/main/res/layout/item_reddit_gallery_submission_image.xml @@ -22,7 +22,7 @@ android:layout_margin="16dp" android:layout_gravity="top|end" android:background="@drawable/play_button_round_background" - android:src="@drawable/ic_play_circle_36dp" + android:src="@drawable/ic_close_24dp" android:visibility="gone" /> </FrameLayout>
\ No newline at end of file |