Use keys in layouts

Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
This commit is contained in:
Arthur-GYT 2024-04-15 18:24:15 +02:00 committed by Alexander Borsuk
parent 283342e523
commit c91add3a2f
2 changed files with 7 additions and 4 deletions

View file

@ -10,9 +10,11 @@
android:id="@+id/nav_zoom_in"
style="@style/MwmWidget.MapButton.Zoom"
app:srcCompat="@drawable/ic_plus"
android:layout_marginBottom="@dimen/margin_half"/>
android:layout_marginBottom="@dimen/margin_half"
android:contentDescription="@string/zoom_in"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/nav_zoom_out"
style="@style/MwmWidget.MapButton.Zoom"
app:srcCompat="@drawable/ic_minus" />
app:srcCompat="@drawable/ic_minus"
android:contentDescription="@string/zoom_out"/>
</LinearLayout>

View file

@ -17,7 +17,8 @@
android:background="?attr/selectableItemBackgroundBorderless"
app:srcCompat="?homeAsUpIndicator"
android:scaleType="center"
tools:src="@drawable/ic_down" />
tools:src="@drawable/ic_down"
android:contentDescription="@string/back"/>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/query"
@ -52,7 +53,7 @@
android:layout_gravity="center_vertical"
android:layout_weight="0"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@null"
android:contentDescription="@string/clear_the_search"
android:scaleType="center"
app:srcCompat="@drawable/ic_cancel"/>