It's not a bug but due to default language if your default language is writting from right to left then all the icons change from left to right .for ex if you use a linear layout in horizontal direction the first item you add will be aligned to the right
Obtain different result on emulator and real device xamarin android
Shay Wilner
1,746
Reputation points
Hello
I debug an simple xml and i get different result
<?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:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:fontFamily="calibri"
android:textColor="#fffdeca6"
android:background="@drawable/gradient"
android:textSize="23sp"
android:textStyle="bold"
android:layout_marginTop="12dp"
android:capitalize="none"
android:inputType="none"
android:text="@string/title"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/message"
android:layout_alignParentLeft="true"
android:background="#ffdde7a6"
android:textSize="24dp"
android:id="@+id/mybutton"
android:text="@string/button1"
/>
<Button
android:id="@+id/nexttime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/mybutton"
android:text="@string/button2"
android:textSize="24dp"
android:background="#ff7de7a6"
/>
</RelativeLayout>
the result of emulator pixel 5 api 28
and the real device samsung galaxy a13
Developer technologies | .NET | Xamarin
5,381 questions