Adds content descriptions and hints to non-textual elements so they can be described by screen readers.
parent
4ea04bb576
commit
f6a165a50a
@ -1,30 +1,24 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<RelativeLayout |
<RelativeLayout |
||||||
xmlns:android="http://schemas.android.com/apk/res/android" |
xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
android:layout_width="match_parent" |
android:layout_width="wrap_content" |
||||||
android:layout_height="match_parent"> |
android:layout_height="wrap_content" |
||||||
|
android:layout_centerInParent="true"> |
||||||
|
|
||||||
<RelativeLayout |
<TextView |
||||||
android:layout_width="wrap_content" |
android:layout_width="wrap_content" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
android:layout_centerInParent="true"> |
android:id="@+id/title" |
||||||
|
android:layout_centerHorizontal="true" |
||||||
|
android:textAllCaps="true" |
||||||
|
android:textStyle="normal|bold" /> |
||||||
|
|
||||||
<TextView |
<TextView |
||||||
android:layout_width="wrap_content" |
android:layout_width="wrap_content" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
android:id="@+id/title" |
android:id="@+id/total" |
||||||
android:layout_centerHorizontal="true" |
android:layout_centerHorizontal="true" |
||||||
android:textAllCaps="true" |
android:layout_below="@id/title" |
||||||
android:textStyle="normal|bold" /> |
android:textSize="10sp" /> |
||||||
|
|
||||||
<TextView |
|
||||||
android:layout_width="wrap_content" |
|
||||||
android:layout_height="wrap_content" |
|
||||||
android:id="@+id/total" |
|
||||||
android:layout_centerHorizontal="true" |
|
||||||
android:layout_below="@id/title" |
|
||||||
android:textSize="10sp" /> |
|
||||||
|
|
||||||
</RelativeLayout> |
|
||||||
|
|
||||||
</RelativeLayout> |
</RelativeLayout> |
Loading…
Reference in new issue