Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright (C) 2012 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="fill_parent"
     19     android:layout_height="fill_parent"
     20     android:orientation="vertical" >
     21 
     22     <LinearLayout
     23         xmlns:android="http://schemas.android.com/apk/res/android"
     24         android:layout_width="match_parent"
     25         android:layout_height="96dp"
     26         android:orientation="horizontal" >
     27 
     28         <Button
     29             android:id="@+id/advertise_btn"
     30             android:layout_width="96dp"
     31             android:layout_height="64dp"
     32             android:onClick="clickAdvertise"
     33             android:text="@string/register" />
     34 
     35         <Button
     36             android:id="@+id/discover_btn"
     37             android:layout_width="96dp"
     38             android:layout_height="64dp"
     39             android:onClick="clickDiscover"
     40             android:text="@string/discover" />
     41 
     42         <Button
     43             android:id="@+id/connect_btn"
     44             android:layout_width="96dp"
     45             android:layout_height="64dp"
     46             android:onClick="clickConnect"
     47             android:text="@string/connect" />
     48     </LinearLayout>
     49 
     50     <TextView
     51         android:id="@+id/status"
     52         android:layout_width="fill_parent"
     53         android:layout_height="200dp"
     54         android:focusable="true" />
     55 
     56     <EditText
     57         android:id="@+id/chatInput"
     58         android:layout_width="fill_parent"
     59         android:layout_height="80dp"
     60         android:inputType="text"
     61         android:singleLine="true" />
     62 
     63     <Button
     64         android:id="@+id/send_btn"
     65         android:layout_width="96dp"
     66         android:layout_height="64dp"
     67         android:onClick="clickSend"
     68         android:text="@string/send" />
     69 
     70 </LinearLayout>