From 2378eaa54785fceeaa7c5c06067006ce5af55df5 Mon Sep 17 00:00:00 2001
From: Agnieszka C <85929121+Aga-C@users.noreply.github.com>
Date: Wed, 1 Dec 2021 13:29:17 +0100
Subject: [PATCH] Moved icons on thumbnails to other positions
fix #2102
---
app/src/main/res/layout/photo_item_grid.xml | 6 +++---
app/src/main/res/layout/photo_item_list.xml | 6 +++---
app/src/main/res/layout/video_item_grid.xml | 15 +++++++--------
app/src/main/res/layout/video_item_list.xml | 6 +++---
app/src/main/res/values/dimens.xml | 3 ++-
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/app/src/main/res/layout/photo_item_grid.xml b/app/src/main/res/layout/photo_item_grid.xml
index de16a756e..37f7be306 100644
--- a/app/src/main/res/layout/photo_item_grid.xml
+++ b/app/src/main/res/layout/photo_item_grid.xml
@@ -17,7 +17,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
- android:layout_alignParentBottom="true"
+ android:layout_alignParentTop="true"
android:layout_margin="@dimen/small_margin"
android:fontFamily="sans-serif-medium"
android:shadowColor="@color/default_background_color"
@@ -32,9 +32,9 @@
android:layout_width="@dimen/favorite_icon_size"
android:layout_height="@dimen/favorite_icon_size"
android:layout_alignParentTop="true"
- android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin"
- android:padding="@dimen/tiny_margin"
+ android:padding="@dimen/small_margin"
android:gravity="end"
android:background="@drawable/circle_black_background"
android:src="@drawable/ic_star_vector"
diff --git a/app/src/main/res/layout/photo_item_list.xml b/app/src/main/res/layout/photo_item_list.xml
index 6d49f6f52..dca1dbee2 100644
--- a/app/src/main/res/layout/photo_item_list.xml
+++ b/app/src/main/res/layout/photo_item_list.xml
@@ -19,11 +19,11 @@
@@ -27,9 +27,9 @@
android:layout_width="@dimen/favorite_icon_size"
android:layout_height="@dimen/favorite_icon_size"
android:layout_alignParentTop="true"
- android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin"
- android:padding="@dimen/tiny_margin"
+ android:padding="@dimen/small_margin"
android:gravity="end"
android:background="@drawable/circle_black_background"
android:src="@drawable/ic_star_vector"
@@ -37,15 +37,14 @@
100dp
20dp
22dp
- 24dp
+ 17dp
+ 26dp
26dp
34dp
96dp