[Android] Fix 'seen' mark position

Geoffrey Métais git at videolan.org
Mon Dec 4 15:53:46 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec  4 15:52:53 2017 +0100| [ecd1664cd5b905b5c1635937357f760e4f9a66f3] | committer: Geoffrey Métais

Fix 'seen' mark position

No matter orientation is RTL or LTR

Close #423

> https://code.videolan.org/videolan/vlc-android/commit/ecd1664cd5b905b5c1635937357f760e4f9a66f3
---

 vlc-android/res/layout/video_grid_card.xml | 2 +-
 vlc-android/res/layout/video_list_card.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/layout/video_grid_card.xml b/vlc-android/res/layout/video_grid_card.xml
index 07e45827c..57e4ab197 100644
--- a/vlc-android/res/layout/video_grid_card.xml
+++ b/vlc-android/res/layout/video_grid_card.xml
@@ -83,7 +83,7 @@
             android:layout_height="wrap_content"
             android:src="@drawable/ic_seen_normal"
             android:visibility="@{seen == 0L ? View.GONE : View.VISIBLE, default=gone}"
-            vlc:layout_constraintEnd_toEndOf="@+id/ml_item_thumbnail"
+            vlc:layout_constraintRight_toRightOf="@+id/ml_item_thumbnail"
             vlc:layout_constraintTop_toTopOf="@+id/ml_item_thumbnail" />
 
         <TextView
diff --git a/vlc-android/res/layout/video_list_card.xml b/vlc-android/res/layout/video_list_card.xml
index b14ab25e3..a0c45111c 100644
--- a/vlc-android/res/layout/video_list_card.xml
+++ b/vlc-android/res/layout/video_list_card.xml
@@ -75,7 +75,7 @@
             android:layout_height="wrap_content"
             android:src="@drawable/ic_seen_normal"
             android:visibility="@{seen == 0L ? View.GONE : View.VISIBLE, default=gone}"
-            vlc:layout_constraintEnd_toEndOf="@+id/ml_item_thumbnail"
+            vlc:layout_constraintRight_toRightOf="@+id/ml_item_thumbnail"
             vlc:layout_constraintTop_toTopOf="@+id/ml_item_thumbnail" />
 
         <TextView



More information about the Android mailing list