Я пытаюсь расположить изображение ниже TextView
на RelativeLayout
, но это не работает. когда я установил его положение, используя android:layout_below
. Это мой xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="#ccc"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/app_details_1"
android:text="@string/app_details_1"
android:textColor="#347"
android:gravity="center"
android:textSize="9pt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<ImageView
android:id="@+id/logo"
android:src="@drawable/secs"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_below="@+id/appdetails_1" <!-- I'm setting it here -->
/>
</RelativeLayout>
Вместо этого он просто размещает изображение в левом верхнем углу экрана. Как мне это позиционировать? layout_below
неправильный код позиционирования?