fix #1511, adding some ImageView content descriptions

This commit is contained in:
tibbi 2019-07-28 17:58:59 +02:00
parent 547f27cddf
commit fa62914cb0
15 changed files with 44 additions and 3 deletions

View file

@ -18,6 +18,7 @@
android:id="@+id/top_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/default_status_action_height"
android:contentDescription="@null"
android:background="@drawable/gradient_background_flipped"/>
</RelativeLayout>

View file

@ -17,7 +17,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/gradient_background"/>
android:background="@drawable/gradient_background"
android:contentDescription="@null"/>
<ImageView
android:id="@+id/cardboard"

View file

@ -34,7 +34,8 @@
android:id="@+id/top_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/default_status_action_height"
android:background="@drawable/gradient_background_flipped"/>
android:background="@drawable/gradient_background_flipped"
android:contentDescription="@null"/>
<TextView
android:id="@+id/video_bottom_gradient"

View file

@ -14,6 +14,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/toggle_favorite"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_star_off"
app:layout_constraintBottom_toBottomOf="parent"
@ -28,6 +29,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/edit"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_edit"
app:layout_constraintBottom_toBottomOf="parent"
@ -42,6 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/share"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_share"
app:layout_constraintBottom_toBottomOf="parent"
@ -56,6 +59,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/delete"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_delete"
app:layout_constraintBottom_toBottomOf="parent"
@ -70,6 +74,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/rotate_right"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_rotate_right"
app:layout_constraintBottom_toBottomOf="parent"
@ -84,6 +89,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/properties"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_properties"
app:layout_constraintBottom_toBottomOf="parent"
@ -98,6 +104,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/change_orientation"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_orientation_auto"
app:layout_constraintBottom_toBottomOf="parent"
@ -112,6 +119,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/slideshow"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_slideshow"
app:layout_constraintBottom_toBottomOf="parent"
@ -126,6 +134,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/show_on_map"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_place"
app:layout_constraintBottom_toBottomOf="parent"
@ -140,6 +149,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/toggle_file_visibility"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_hide"
app:layout_constraintBottom_toBottomOf="parent"
@ -154,6 +164,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/rename"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_rename_new"
app:layout_constraintBottom_toBottomOf="parent"
@ -168,6 +179,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/set_as"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_set_as"
app:layout_constraintBottom_toBottomOf="parent"
@ -182,6 +194,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/copy"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_copy"
app:layout_constraintBottom_toBottomOf="parent"
@ -196,6 +209,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/move"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_move"
app:layout_constraintBottom_toBottomOf="parent"

View file

@ -12,6 +12,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/rotate"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_rotate_right"
app:layout_constraintBottom_toBottomOf="parent"
@ -25,6 +26,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/resize"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_minimize"
app:layout_constraintBottom_toBottomOf="parent"
@ -38,6 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/free_aspect_ratio"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_aspect_ratio"
app:layout_constraintBottom_toBottomOf="parent"
@ -51,6 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/flip_horizontally"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_flip_horizontally"
app:layout_constraintBottom_toBottomOf="parent"
@ -64,6 +68,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/flip_vertically"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_flip_vertically"
app:layout_constraintBottom_toBottomOf="parent"

View file

@ -26,6 +26,7 @@
android:layout_height="@dimen/bottom_editor_color_picker_size"
android:layout_marginEnd="@dimen/small_margin"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/change_color"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toLeftOf="@+id/bottom_draw_undo"
app:layout_constraintTop_toTopOf="parent"/>
@ -36,6 +37,7 @@
android:layout_height="@dimen/bottom_editor_color_picker_size"
android:layout_marginEnd="@dimen/small_margin"
android:clickable="false"
android:contentDescription="@null"
android:padding="@dimen/small_margin"
android:src="@drawable/circle_background"
app:layout_constraintBottom_toBottomOf="parent"
@ -49,6 +51,7 @@
android:layout_marginEnd="@dimen/normal_margin"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="false"
android:contentDescription="@string/undo"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_undo"
app:layout_constraintBottom_toBottomOf="parent"

View file

@ -12,6 +12,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/filter"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_photo_filter"
app:layout_constraintBottom_toBottomOf="parent"

View file

@ -26,6 +26,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/rotate"
android:padding="@dimen/normal_margin"
android:src="@drawable/ic_rotate_right"
app:layout_constraintBottom_toBottomOf="parent"

View file

@ -23,6 +23,7 @@
android:layout_alignBottom="@+id/dir_thumbnail"
android:layout_centerInParent="true"
android:background="@color/default_background_color"
android:contentDescription="@string/lock_folder"
android:padding="@dimen/lock_padding"
android:src="@drawable/ic_lock_huge"
android:visibility="gone"/>
@ -36,6 +37,7 @@
android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin"
android:background="@drawable/circle_background"
android:contentDescription="@null"
android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check"
android:visibility="gone"/>
@ -48,6 +50,7 @@
android:layout_alignParentTop="true"
android:layout_margin="@dimen/small_margin"
android:background="@drawable/circle_black_background"
android:contentDescription="@string/pin"
android:padding="@dimen/small_margin"
android:src="@drawable/ic_pin"
android:visibility="gone"/>
@ -59,7 +62,8 @@
android:layout_alignStart="@+id/dir_bottom_holder"
android:layout_alignEnd="@+id/dir_bottom_holder"
android:layout_alignParentBottom="true"
android:background="@drawable/gradient_background"/>
android:background="@drawable/gradient_background"
android:contentDescription="@null"/>
<LinearLayout
android:id="@+id/dir_bottom_holder"
@ -103,6 +107,7 @@
android:layout_alignEnd="@+id/dir_bottom_holder"
android:layout_alignParentBottom="true"
android:alpha="0.8"
android:contentDescription="@null"
android:paddingEnd="@dimen/small_margin"
android:paddingBottom="@dimen/small_margin"
android:src="@drawable/ic_sd_card"

View file

@ -24,6 +24,7 @@
android:layout_alignBottom="@+id/dir_thumbnail"
android:layout_centerInParent="true"
android:background="@color/default_background_color"
android:contentDescription="@string/lock_folder"
android:padding="@dimen/medium_margin"
android:src="@drawable/ic_lock_huge"
android:visibility="gone"/>
@ -36,6 +37,7 @@
android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin"
android:background="@drawable/circle_background"
android:contentDescription="@null"
android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check"
android:visibility="gone"/>
@ -91,6 +93,7 @@
android:id="@+id/dir_location"
android:layout_width="@dimen/sd_card_icon_size"
android:layout_height="@dimen/sd_card_icon_size"
android:contentDescription="@null"
android:paddingBottom="@dimen/small_margin"
android:src="@drawable/ic_sd_card"
android:visibility="gone"/>
@ -99,6 +102,7 @@
android:id="@+id/dir_pin"
android:layout_width="@dimen/sd_card_icon_size"
android:layout_height="@dimen/sd_card_icon_size"
android:contentDescription="@string/pin"
android:paddingBottom="@dimen/small_margin"
android:src="@drawable/ic_pin"
android:visibility="gone"/>

View file

@ -12,6 +12,7 @@
android:layout_height="@dimen/bottom_filters_thumbnail_size"
android:layout_above="@+id/editor_filter_item_label"
android:background="@drawable/stroke_background"
android:contentDescription="@null"
android:padding="1dp"/>
<TextView

View file

@ -13,6 +13,7 @@
<ImageView
android:id="@+id/top_shadow"
android:layout_width="match_parent"
android:contentDescription="@null"
android:layout_height="@dimen/default_status_action_height"
android:background="@drawable/gradient_background_flipped"/>

View file

@ -38,6 +38,7 @@
android:layout_height="@dimen/play_outline_size_big"
android:layout_centerInParent="true"
android:padding="20dp"
android:contentDescription="@null"
android:src="@drawable/ic_panorama_outline"
android:visibility="gone"/>

View file

@ -51,6 +51,7 @@
android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin"
android:background="@drawable/circle_background"
android:contentDescription="@null"
android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check"
android:visibility="gone"/>

View file

@ -21,6 +21,7 @@
android:layout_height="@dimen/selection_check_size"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:contentDescription="@null"
android:layout_margin="@dimen/small_margin"
android:background="@drawable/circle_background"
android:padding="@dimen/tiny_margin"