mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
* 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>
51 lines
No EOL
2.1 KiB
XML
51 lines
No EOL
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/location_picker_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="78dp"
|
|
tools:background="@color/primaryColor">
|
|
|
|
<TextView
|
|
android:id="@+id/location_picker_toolbar_primary_text_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="72dp"
|
|
android:text="@string/choose_a_location"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toTopOf="@+id/location_picker_toolbar_secondary_text_view"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintVertical_chainStyle="packed"/>
|
|
|
|
<TextView
|
|
android:id="@+id/location_picker_toolbar_secondary_text_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="72dp"
|
|
android:contentDescription="@string/pan_and_zoom_to_adjust"
|
|
android:text="@string/pan_and_zoom_to_adjust"
|
|
android:textColor="@color/white"
|
|
android:textSize="14sp"
|
|
android:textStyle="normal"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/location_picker_toolbar_primary_text_view" />
|
|
|
|
<ImageView
|
|
android:id="@+id/mapbox_place_picker_toolbar_back_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/exit_location_picker"
|
|
android:tint="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_arrow_back_white"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |