0

RelativeLayoutという名前のカスタムを作成しましたRemoteImageView

<com.mypackagepath.RemoteImageView
              xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content">
    <!-- something interesting -->
</com.mypackagepath.RemoteImageView>

いつも書くべきか

<include layout="@layout/remote_image_view" />

どこかに置きたいとき、またはどうにかして書くことができるとき

<com.mypackagepath.RemoteImageView etc="something" />

?

4

0 に答える 0