概要 以下のように、layoutのxmlを設定するだけで、自動的に意図するレイアウトになるような独自レイアウトを作成する。 <com.example.tile.TileLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:custom="http://schemas.android.com/apk/res/com.example.tile" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > <com.example.tile.TileItemView
![Androidの独自レイアウトを作成する - うさがにっき](https://cdn-ak-scissors.b.st-hatena.com/image/square/2ca46e0f3dddef3792a1024de574258fa86d2cb2/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Ft%2Ftiro105%2F20140619%2F20140619152209.png)