From 5a12266c6fa3a0bb2a976080e9f52226a689d104 Mon Sep 17 00:00:00 2001 From: Alex Ning <chineseperson5@gmail.com> Date: Fri, 16 Jul 2021 21:24:29 +0800 Subject: Place a close button on the image in PostGalleryActivity. --- app/src/main/res/drawable/ic_close_24dp.xml | 9 +++++++++ app/src/main/res/layout/item_reddit_gallery_submission_image.xml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_close_24dp.xml (limited to 'app/src/main') 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 -- cgit v1.2.3