Accessibility improvements, close #39
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
android:tint="?colorSearchHint"
|
||||
android:elevation="1dp"
|
||||
android:contentDescription="@string/back"
|
||||
android:src="@drawable/ic_fluent_search_24_regular"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -61,6 +62,7 @@
|
||||
android:tint="?colorSearchHint"
|
||||
android:elevation="1dp"
|
||||
android:visibility="invisible"
|
||||
android:contentDescription="@string/clear"
|
||||
android:src="@drawable/ic_fluent_dismiss_24_regular"/>
|
||||
|
||||
<ProgressBar
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="229dp"
|
||||
android:background="#808080"
|
||||
android:contentDescription="@string/profile_header"
|
||||
android:scaleType="centerCrop"/>
|
||||
|
||||
<View
|
||||
@@ -51,6 +52,7 @@
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="-38dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@string/profile_picture"
|
||||
tools:src="#0f0" />
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
android:button="@drawable/ic_round_checkbox"
|
||||
android:buttonTint="?android:textColorSecondary"
|
||||
android:background="@null"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
android:tint="@color/error_500"
|
||||
android:stateListAnimator="@null"
|
||||
android:padding="0px"
|
||||
android:contentDescription="@string/delete"
|
||||
android:background="@null"/>
|
||||
|
||||
<EditText
|
||||
@@ -56,6 +57,7 @@
|
||||
android:layout_alignBottom="@id/value"
|
||||
android:layout_marginBottom="-16dp"
|
||||
android:scaleType="center"
|
||||
android:contentDescription="@string/reorder"
|
||||
android:src="@drawable/ic_fluent_re_order_dots_vertical_24_regular"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -24,6 +24,7 @@
|
||||
android:layout_marginEnd="6dp"
|
||||
android:tint="?android:textColorSecondary"
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/clear"
|
||||
android:src="@drawable/ic_fluent_dismiss_circle_24_filled"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -27,12 +27,14 @@
|
||||
android:ellipsize="end"
|
||||
tools:text="@string/theme_auto"/>
|
||||
|
||||
<ImageView
|
||||
<RadioButton
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/ic_round_checkbox"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"
|
||||
android:button="@drawable/ic_round_checkbox"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -294,4 +294,8 @@
|
||||
<string name="show_boosts_from_user">Show boosts from %s</string>
|
||||
<string name="signup_reason">why do you want to join?</string>
|
||||
<string name="signup_reason_note">This will help us review your application.</string>
|
||||
<string name="clear">Clear</string>
|
||||
<string name="profile_header">Header image</string>
|
||||
<string name="profile_picture">Profile picture</string>
|
||||
<string name="reorder">Reorder</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user