apps-android-commons/app/src/main/res/layout/question_layout.xml
Ben Mills 78bfd0986c
Content description for UI elements -- accessibility (#4935)
* Started from welcome layout to main layout adding content descriptions

* Adds UI description section to strings.xml and adds a few content descrpitions

* Consolidates UI strings to top of file

* fixes nearby typos

* Removes content descriptions that clash with pr #4766

* Removes unused elements and reverts out-of-scope changes

* Restores pic-of-the-day content description

Co-authored-by: joshuamccluskey <jpiff57@gmail.com>
2022-05-24 14:36:06 +03:00

27 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal">
<com.facebook.drawee.view.SimpleDraweeView
android:layout_width="@dimen/question_width"
android:layout_height="@dimen/question_height"
android:scaleType="fitXY"
android:id="@+id/question_image"
android:layout_marginHorizontal="@dimen/activity_margin_horizontal"
android:layout_marginVertical="@dimen/activity_margin_vertical" />
<TextView
android:id="@+id/question_text"
style="?android:textAppearanceMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_margin_horizontal"
android:layout_marginRight="@dimen/activity_margin_horizontal"
android:text="Is Photograph of an Artwork allowed?"
android:textColor="@color/secondaryTextColor" />
</LinearLayout>