[android] Prevent crash when direction arrow view is missing in landscape mode

Signed-off-by: Mihail Mitrofanov <mitrofanov@bitrix.ru>
This commit is contained in:
Mihail Mitrofanov
2025-06-10 13:10:00 +02:00
committed by Konstantin Pastbin
parent 111bb0b94c
commit 1f950d2c0b

View File

@@ -52,5 +52,15 @@
android:layout_marginTop="@dimen/margin_direction_mid" android:layout_marginTop="@dimen/margin_direction_mid"
android:textSize="@dimen/text_direction_dist" android:textSize="@dimen/text_direction_dist"
tools:text="9000 km"/> tools:text="9000 km"/>
<TextView
android:id="@+id/tv__azimuth"
style="@style/MwmWidget.TextView.Direction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_direction_small"
android:gravity="center_horizontal"
android:textSize="@dimen/text_direction_subtitle"
tools:text="123.4°" />
</LinearLayout> </LinearLayout>
</RelativeLayout> </RelativeLayout>