テキストと画像を表示するカスタムダイアログボックスがあります。Android - カスタムダイアログボックスのレイアウト問題
テキストは数行で構成されていますが、何百万回もの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設定内に設定されます。
xmlレイアウトを追加した方が手伝いが簡単です。 –
ここにxmlレイアウトを見せてください。 – Javanator