1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2010 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16--> 17 18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:orientation="vertical" 20 android:layout_width="fill_parent" 21 android:layout_height="fill_parent" 22 android:gravity="center_horizontal" 23 > 24 25 <com.example.android.tictactoe.library.GameView 26 android:id="@+id/game_view" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:layout_margin="20dip" 30 android:layout_weight="1" 31 /> 32 33 <TextView 34 android:id="@+id/info_turn" 35 android:layout_width="fill_parent" 36 android:layout_height="wrap_content" 37 android:gravity="center_horizontal" 38 android:layout_marginBottom="10dip" 39 /> 40 41 <Button 42 android:id="@+id/next_turn" 43 android:text="I'm done" 44 android:layout_width="fill_parent" 45 android:layout_height="wrap_content" 46 android:layout_marginLeft="20dip" 47 android:layout_marginRight="20dip" 48 /> 49 50</LinearLayout> 51