Label icons for accessibility
Signed-off-by: Patryk Mis <foss@patrykmis.com>
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
android:layout_marginTop="@dimen/height_bottom_adj"
|
||||
android:layout_marginEnd="@dimen/margin_normal"
|
||||
android:layout_marginBottom="@dimen/height_bottom_adj"
|
||||
android:contentDescription="@string/action_search"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:srcCompat="@drawable/ic_round_search"
|
||||
app:tint="@color/colorWhite"
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
android:layout_marginTop="@dimen/height_bottom_adj"
|
||||
android:layout_marginEnd="@dimen/margin_normal"
|
||||
android:layout_marginBottom="@dimen/height_bottom_adj"
|
||||
android:contentDescription="@string/action_search"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:srcCompat="@drawable/ic_round_search"
|
||||
app:tint="@color/colorWhite"
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
android:padding="@dimen/padding_xsmall"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:visibility="invisible"
|
||||
android:contentDescription="@string/expand"
|
||||
app:srcCompat="@drawable/ic_arrow_right"
|
||||
app:tint="?android:textColorPrimary" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -118,6 +118,7 @@
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:padding="@dimen/margin_small"
|
||||
android:contentDescription="@string/details_changelog"
|
||||
app:srcCompat="@drawable/ic_arrow_right"
|
||||
app:tint="?colorControlNormal" />
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
android:layout_marginStart="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:padding="@dimen/padding_xsmall"
|
||||
android:contentDescription="@string/expand"
|
||||
app:srcCompat="@drawable/ic_arrow_right"
|
||||
app:tint="?android:textColorPrimary" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -64,7 +64,8 @@
|
||||
android:layout_margin="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:padding="@dimen/padding_xsmall"
|
||||
android:contentDescription="@string/expand"
|
||||
app:srcCompat="@drawable/ic_arrow_right"
|
||||
app:tint="?colorShimmer" />
|
||||
</RelativeLayout>
|
||||
</com.facebook.shimmer.ShimmerFrameLayout>
|
||||
</com.facebook.shimmer.ShimmerFrameLayout>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/action_back"
|
||||
app:srcCompat="@drawable/ic_arrow_back"
|
||||
app:tint="?colorControlNormal" />
|
||||
|
||||
@@ -48,4 +49,4 @@
|
||||
android:paddingEnd="@dimen/padding_normal"
|
||||
android:singleLine="true"
|
||||
tools:text="Title" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
android:layout_marginEnd="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:padding="@dimen/padding_xxsmall"
|
||||
android:contentDescription="@string/menu"
|
||||
app:srcCompat="@drawable/ic_menu_unfold"
|
||||
app:tint="?colorControlNormal" />
|
||||
|
||||
@@ -59,6 +60,7 @@
|
||||
android:layout_marginStart="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:padding="@dimen/padding_xxsmall"
|
||||
android:contentDescription="@string/title_download_manager"
|
||||
app:srcCompat="@drawable/ic_download"
|
||||
app:tint="?colorControlNormal" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/action_back"
|
||||
app:srcCompat="@drawable/ic_arrow_back"
|
||||
app:tint="?colorControlNormal" />
|
||||
|
||||
@@ -58,6 +59,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="@dimen/margin_small"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/title_download_manager"
|
||||
app:srcCompat="@drawable/ic_arrow_download"
|
||||
app:tint="?colorControlNormal" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -367,4 +367,6 @@
|
||||
<string name="ui_accent_8">Różowy</string>
|
||||
<string name="ui_accent_6">Fioletowy</string>
|
||||
<string name="ui_accent_10">Pomarańczowy</string>
|
||||
</resources>
|
||||
<string name="menu">Menu</string>
|
||||
<string name="expand">Rozwiń</string>
|
||||
</resources>
|
||||
|
||||
@@ -403,4 +403,6 @@
|
||||
<string name="updates_available">updates available</string>
|
||||
<string name="rate_limited">Oops, This account is rate limited!</string>
|
||||
<string name="error">An error occurred!</string>
|
||||
<string name="menu">Menu</string>
|
||||
<string name="expand">Expand</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user