0
私の問題は、私のXMLファイルで1つのカスタムビューを使用していて、同じXMLファイルにテキストビュー、画像ボタンなどの他のコンポーネントが含まれていることです。同じXMLファイル内にcustomviewとlinearlayoutの両方を配置する方法
私は、バックグラウンドにしたいが、それは
を(他のコンポーネント)を私の全体のレイアウトをブロックしていることカスタムビューは、画像が含まれていることを
、と私は唯一のカスタムビューを見ることができます
以下に私のコードです
<FrameLayout
android:id="@+id/framelayout"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<com.abc.android.image
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/imageview">
</com.abc.android.image>
<LinearLayout
android:id="@+id/linlayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/small1"
android:orientation="vertical">
All text view, ImageButtons
</LinearLayout>
</FrameLayout>
誰でも、フォアグラウンドの背景や他のコンポーネントでカスタムビューを使用する方法を教えてください。コンポーネントがカスタムビュー上に表示される必要があることを意味します。
Thanx事前に。