Home | History | Annotate | Download | only in layout-land
      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="horizontal"
     20     android:layout_width="fill_parent"
     21     android:layout_height="fill_parent"
     22     android:gravity="center_vertical|center_horizontal"
     23     >
     24 
     25     <com.example.android.tictactoe.library.GameView
     26         android:id="@+id/game_view"
     27         android:layout_width="fill_parent"
     28         android:layout_height="fill_parent"
     29         android:layout_margin="20dip"
     30         />
     31 
     32 
     33     <LinearLayout
     34         android:orientation="vertical"
     35         android:layout_width="wrap_content"
     36         android:layout_height="wrap_content"
     37         android:gravity="center_horizontal"
     38         >
     39 
     40         <TextView
     41             android:id="@+id/info_turn"
     42             android:layout_width="fill_parent"
     43             android:layout_height="wrap_content"
     44             android:gravity="center_horizontal"
     45             android:layout_marginBottom="10dip"
     46             />
     47 
     48         <Button
     49             android:id="@+id/next_turn"
     50             android:text="I'm done"
     51             android:minEms="10"
     52             android:layout_width="fill_parent"
     53             android:layout_height="wrap_content"
     54             android:layout_marginLeft="20dip"
     55             android:layout_marginRight="20dip"
     56             />
     57 
     58     </LinearLayout>
     59 
     60 </LinearLayout>
     61