Left-align image alt text & make it selectable (#3063)

Fixes #2819, #2126
This commit is contained in:
Eva Tatarka 2022-12-30 02:20:25 -08:00 committed by GitHub
parent abca91a420
commit c7254bfc19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,11 +50,11 @@
<View <View
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="3dp" android:layout_height="3dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:layout_gravity="center_horizontal" android:background="@drawable/ic_drag_indicator_horiz_24dp"
android:importantForAccessibility="no" android:importantForAccessibility="no" />
android:background="@drawable/ic_drag_indicator_horiz_24dp" />
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -69,8 +69,8 @@
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp" android:paddingRight="8dp"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:textAlignment="center"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textIsSelectable="true"
android:textSize="?attr/status_text_medium" android:textSize="?attr/status_text_medium"
tools:text="Some media description which might get quite long so that it won't easily fit in one line" /> tools:text="Some media description which might get quite long so that it won't easily fit in one line" />
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>