|
@@ -29,6 +29,17 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:contentDescription="Ignore live photo indicator for folder"
|
|
|
+ android:id="@+id/live_photo_indicator"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginBottom="12dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/frameLayout"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/favorite_action"
|
|
|
+ tools:ignore="HardcodedText" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/favorite_action"
|
|
|
android:layout_width="wrap_content"
|
|
@@ -72,12 +83,12 @@
|
|
|
android:id="@+id/videoOverlay"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
android:layout_marginStart="4dp"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:contentDescription="@string/video_overlay_icon"
|
|
|
android:src="@drawable/video_white"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
- android:contentDescription="@string/video_overlay_icon" />
|
|
|
+ tools:visibility="visible" />
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
@@ -88,19 +99,19 @@
|
|
|
android:layout_gravity="top|end"
|
|
|
android:layout_marginTop="@dimen/grid_item_shared_icon_layout_top_margin"
|
|
|
android:layout_marginEnd="@dimen/standard_quarter_margin"
|
|
|
- android:src="@drawable/shared_via_link"
|
|
|
- android:contentDescription="@string/shared_icon_shared_via_link" />
|
|
|
+ android:contentDescription="@string/shared_icon_shared_via_link"
|
|
|
+ android:src="@drawable/shared_via_link" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/unreadComments"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:clickable="true"
|
|
|
- android:contentDescription="@string/unread_comments"
|
|
|
- android:focusable="true"
|
|
|
android:layout_gravity="top|end"
|
|
|
android:layout_marginTop="@dimen/grid_item_shared_icon_layout_top_margin"
|
|
|
android:layout_marginEnd="@dimen/standard_quarter_margin"
|
|
|
+ android:clickable="true"
|
|
|
+ android:contentDescription="@string/unread_comments"
|
|
|
+ android:focusable="true"
|
|
|
android:src="@drawable/ic_comment_grid"
|
|
|
android:visibility="gone" />
|
|
|
|
|
@@ -109,37 +120,21 @@
|
|
|
android:layout_width="@dimen/grid_item_local_file_indicator_layout_width"
|
|
|
android:layout_height="@dimen/grid_item_local_file_indicator_layout_height"
|
|
|
android:layout_gravity="bottom|end"
|
|
|
- android:layout_marginBottom="@dimen/standard_quarter_margin"
|
|
|
- android:layout_marginEnd="@dimen/standard_quarter_margin"
|
|
|
android:layout_marginTop="@dimen/standard_quarter_margin"
|
|
|
- android:src="@drawable/ic_synced"
|
|
|
- android:contentDescription="@string/synced_icon"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/live_photo_indicator"
|
|
|
- android:visibility="gone"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/file_list_live"
|
|
|
- android:drawablePadding="@dimen/standard_eight_padding"
|
|
|
- android:layout_marginTop="@dimen/standard_quarter_margin"
|
|
|
- android:gravity="center"
|
|
|
android:layout_marginEnd="@dimen/standard_quarter_margin"
|
|
|
android:layout_marginBottom="@dimen/standard_quarter_margin"
|
|
|
- android:layout_gravity="bottom|start"
|
|
|
- android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
- android:textSize="@dimen/two_line_secondary_text_size"
|
|
|
- app:drawableLeftCompat="@drawable/ic_play_circle" />
|
|
|
+ android:contentDescription="@string/synced_icon"
|
|
|
+ android:src="@drawable/ic_synced" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/custom_checkbox"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical|top"
|
|
|
android:layout_marginLeft="@dimen/standard_quarter_margin"
|
|
|
android:layout_marginRight="@dimen/standard_quarter_margin"
|
|
|
- android:layout_gravity="center_vertical|top"
|
|
|
- android:src="@android:drawable/checkbox_off_background"
|
|
|
- android:contentDescription="@string/checkbox"/>
|
|
|
+ android:contentDescription="@string/checkbox"
|
|
|
+ android:src="@android:drawable/checkbox_off_background" />
|
|
|
|
|
|
</FrameLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|