我在查看sample Snake中时,snake_layout.xml中的一句话,请问什么意思
<com.example.android.snake.SnakeView
android:id="@+id/snake"
android:layout_width="match_parent"
android:layout_height="match_parent"
tileSize="24"
/>
<com.example.android.snake.SnakeView
android:id="@+id/snake"
android:layout_width="match_parent"
android:layout_height="match_parent"
tileSize="24"
/>
android:id="@+id/snake" //id
android:layout_width="match_parent"//view 宽
android:layout_height="match_parent"//view 高
tileSize="24"//tile size