Accessibility improvements
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
android:scaleType="center"
|
||||
android:tint="?android:textColorSecondary"
|
||||
android:contentDescription="@string/more_options"
|
||||
android:src="@drawable/ic_post_more" />
|
||||
|
||||
<ImageView
|
||||
|
||||
@@ -178,6 +178,7 @@
|
||||
android:padding="0px"
|
||||
android:tint="@color/compose_button"
|
||||
android:tintMode="src_in"
|
||||
android:contentDescription="@string/add_media"
|
||||
android:src="@drawable/ic_fluent_image_24_regular"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -189,6 +190,7 @@
|
||||
android:padding="0px"
|
||||
android:tint="@color/compose_button"
|
||||
android:tintMode="src_in"
|
||||
android:contentDescription="@string/add_poll"
|
||||
android:src="@drawable/ic_fluent_poll_24_selector"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -200,6 +202,7 @@
|
||||
android:padding="0px"
|
||||
android:tint="@color/compose_button"
|
||||
android:tintMode="src_in"
|
||||
android:contentDescription="@string/emoji"
|
||||
android:src="@drawable/ic_fluent_emoji_24_selector"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -211,6 +214,7 @@
|
||||
android:padding="0px"
|
||||
android:tint="@color/compose_button"
|
||||
android:tintMode="src_in"
|
||||
android:contentDescription="@string/content_warning"
|
||||
android:src="@drawable/ic_fluent_chat_warning_24_selector"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -222,6 +226,7 @@
|
||||
android:padding="0px"
|
||||
android:tint="@color/compose_button"
|
||||
android:tintMode="src_in"
|
||||
android:contentDescription="@string/post_visibility"
|
||||
android:src="@drawable/ic_fluent_earth_24_filled"/>
|
||||
|
||||
<Space
|
||||
|
||||
@@ -7,4 +7,5 @@
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="?android:colorAccent"
|
||||
android:padding="16dp"
|
||||
android:accessibilityHeading="true"
|
||||
tools:text="Visual appearance"/>
|
||||
@@ -34,6 +34,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -31,6 +31,7 @@
|
||||
android:tint="@color/fab_icon"
|
||||
android:scaleType="center"
|
||||
android:stateListAnimator="@animator/fab_shadow"
|
||||
android:contentDescription="@string/new_post"
|
||||
android:src="@drawable/ic_edit_34"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="52dp"
|
||||
android:scaleType="center"
|
||||
android:contentDescription="@string/home_timeline"
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
android:tint="?android:colorPrimary"
|
||||
android:src="@drawable/ic_fluent_home_28_selector"/>
|
||||
@@ -33,6 +34,7 @@
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="52dp"
|
||||
android:scaleType="center"
|
||||
android:contentDescription="@string/search_hint"
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
android:tint="?android:colorPrimary"
|
||||
android:src="@drawable/ic_fluent_search_28_selector"/>
|
||||
@@ -47,6 +49,7 @@
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="52dp"
|
||||
android:scaleType="center"
|
||||
android:contentDescription="@string/notifications"
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
android:tint="?android:colorPrimary"
|
||||
android:src="@drawable/ic_fluent_alert_28_selector"/>
|
||||
@@ -60,6 +63,7 @@
|
||||
android:id="@+id/tab_profile"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="52dp"
|
||||
android:contentDescription="@string/my_profile"
|
||||
android:foreground="@drawable/bg_tab_profile"
|
||||
android:background="?android:selectableItemBackgroundBorderless">
|
||||
<ImageView
|
||||
|
||||
Reference in New Issue
Block a user