У меня отладочное приложение для Android на устройстве Samsung.
Но элементы управления не отображаются должным образом, как показано на рисунках ниже.
Второй формат изображения в формате XML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/mainlayout">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button2"
android:id="@+id/btn2"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button1 is below button2"
android:layout_below="@id/btn2"
android:id="@+id/btn1"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button3 below button 1"
android:layout_below="@id/btn1"
android:id="@+id/btn3"
/>
</RelativeLayout>
![enter image description here](https://i.stack.imgur.com/BGiqT.png)
![enter image description here](https://i.stack.imgur.com/vuCCm.png)
Спасибо.