hide expand/collapse to screen reader

This commit is contained in:
sk 2023-02-06 16:54:54 +01:00
parent c1b79da4a7
commit 32b459ae77
2 changed files with 4 additions and 2 deletions

View File

@ -47,7 +47,8 @@
android:layout_height="36dp"
android:layout_toStartOf="@id/visibility"
android:background="?android:actionBarItemBackground"
android:visibility="gone">
android:visibility="gone"
android:importantForAccessibility="noHideDescendants">
<!-- wrapping this button so the flip animation doesn't flip the background and the tooltip
isn't displaced by the -1 scale -->

View File

@ -79,7 +79,8 @@
android:textAppearance="@style/m3_label_medium"
android:textAllCaps="true"
android:text="@string/sk_expand"
android:visibility="gone" />
android:visibility="gone"
android:importantForAccessibility="no"/>
<org.joinmastodon.android.ui.views.AutoOrientationLinearLayout
android:id="@+id/translate_wrap"