apps-android-commons/app/src/main/res/layout/popup_for_copyright.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

40 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/popup_relative_layout"
android:layout_width="350dp"
android:layout_height="350dp"
android:layout_gravity="center">
<TextView
android:id="@+id/warning"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="37dp"
android:text="@string/warning"
android:textColor="#FF0202"
android:textSize="34sp"
android:textStyle="bold" />
<TextView
android:id="@+id/copyright_messege"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/warning"
android:layout_marginTop="21dp"
android:text="@string/copyright_popup"
android:textSize="20sp"
android:textStyle="bold" />
<Button
android:id="@+id/button_ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/copyright_messege"
android:layout_centerHorizontal="true"
android:layout_marginTop="37dp"
android:contentDescription="@string/ok"
android:text="@string/ok" />
</RelativeLayout>