У меня есть настраиваемое диалоговое окно, отображающее текст и изображение внизу.
Текст состоит из нескольких строк, и, несмотря на то, что миллионы раз возятся со всем XML-макетом, изображение внизу всегда перекрывает половину / часть текста. Как я могу настроить его так, чтобы он появлялся снизу и после того, как текст закончился?
<ImageView android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
/>
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="wrap_content"
android:layout_below="@+id/image"
android:layout_height="200px">
<TextView android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFF"
/>
</ScrollView>
<ImageView android:id="@+id/image2"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_centerHorizontal="true"
android1:layout_alignParentBottom="true"/>
Элементы задаются внутри параметра RelativeLayout.